Bug #1859: Initialize 'size' before first use in intelTryReadPixels()

This commit is contained in:
Adam Jackson
2004-12-27 21:52:17 +00:00
parent 0983c9dd99
commit d9fcfa2797
+1 -1
View File
@@ -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)