Module: Mesa
Branch: mesa_7_7_branch
Commit: 67125c7f9aa141a7948ebb915ece9d991bb6ff19
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=67125c7f9aa141a7948ebb915ece9d991bb6ff19

Author: Vinson Lee <[email protected]>
Date:   Mon Nov 23 01:52:59 2009 -0500

mesa: Initialize variable in _mesa_get_texel_fetch_func.

---

 src/mesa/main/texfetch.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/texfetch.c b/src/mesa/main/texfetch.c
index f4f2be4..b370394 100644
--- a/src/mesa/main/texfetch.c
+++ b/src/mesa/main/texfetch.c
@@ -570,7 +570,7 @@ texfetch_funcs[MESA_FORMAT_COUNT] =
 static FetchTexelFuncF
 _mesa_get_texel_fetch_func(gl_format format, GLuint dims)
 {
-   FetchTexelFuncF f;
+   FetchTexelFuncF f = NULL;
    GLuint i;
    /* XXX replace loop with direct table lookup */
    for (i = 0; i < MESA_FORMAT_COUNT; i++) {

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to