projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ce7418
)
swrast: silence uninitialized var warnings
author
Brian Paul
<brianp@vmware.com>
Thu, 26 Jan 2012 15:16:33 +0000
(08:16 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 26 Jan 2012 15:16:33 +0000
(08:16 -0700)
src/mesa/swrast/s_span.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_span.c
b/src/mesa/swrast/s_span.c
index 7ab60b1e5140c2a0cb4bb8ce332afaf27c011201..ccdbe5f79c42ff54b7baec61598ba5647b4a4d15 100644
(file)
--- a/
src/mesa/swrast/s_span.c
+++ b/
src/mesa/swrast/s_span.c
@@
-1052,8
+1052,8
@@
put_values(struct gl_context *ctx, struct gl_renderbuffer *rb,
GLuint count, const GLint x[], const GLint y[],
const void *values, const GLubyte *mask)
{
- gl_pack_ubyte_rgba_func pack_ubyte;
- gl_pack_float_rgba_func pack_float;
+ gl_pack_ubyte_rgba_func pack_ubyte
= NULL
;
+ gl_pack_float_rgba_func pack_float
= NULL
;
GLuint i;
if (datatype == GL_UNSIGNED_BYTE)