diff options
author | Vinson Lee <[email protected]> | 2009-11-23 01:52:59 -0500 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2009-11-23 01:52:59 -0500 |
commit | 67125c7f9aa141a7948ebb915ece9d991bb6ff19 (patch) | |
tree | 15f9efec7c089cce5fc0882303e68fbcecea77a2 /src/mesa/main | |
parent | 4b0b250aae6ae7d48cd24f9d91d05ab58086c4b2 (diff) |
mesa: Initialize variable in _mesa_get_texel_fetch_func.
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | 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 f4f2be48c37..b37039429f4 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++) { |