projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0983c9d
)
Bug #1859: Initialize 'size' before first use in intelTryReadPixels()
author
Adam Jackson
<ajax@freedesktop.org>
Mon, 27 Dec 2004 21:52:17 +0000
(21:52 +0000)
committer
Adam Jackson
<ajax@freedesktop.org>
Mon, 27 Dec 2004 21:52:17 +0000
(21:52 +0000)
src/mesa/drivers/dri/i915/intel_pixel.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i915/intel_pixel.c
b/src/mesa/drivers/dri/i915/intel_pixel.c
index 830aa4355c12d913250cbe3b608f5f63a781b169..d842273a80d7a6fb9e82c91ba673efabddc270d2 100644
(file)
--- a/
src/mesa/drivers/dri/i915/intel_pixel.c
+++ b/
src/mesa/drivers/dri/i915/intel_pixel.c
@@
-145,7
+145,7
@@
intelTryReadPixels( GLcontext *ctx,
GLvoid *pixels )
{
intelContextPtr intel = INTEL_CONTEXT(ctx);
- GLint size;
+ GLint size
= 0
;
GLint pitch = pack->RowLength ? pack->RowLength : width;
if (INTEL_DEBUG & DEBUG_PIXEL)