projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b0b250
)
mesa: Initialize variable in _mesa_get_texel_fetch_func.
author
Vinson Lee
<vlee@vmware.com>
Mon, 23 Nov 2009 06:52:59 +0000
(
01:52
-0500)
committer
Vinson Lee
<vlee@vmware.com>
Mon, 23 Nov 2009 06:52:59 +0000
(
01:52
-0500)
src/mesa/main/texfetch.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texfetch.c
b/src/mesa/main/texfetch.c
index f4f2be48c373f3c9c015ccd952b1764a627cac01..b37039429f497408937f52bfef5bebf3bb2c686d 100644
(file)
--- 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++) {