Bug #1859: Initialize 'size' before first use in intelTryReadPixels()
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user