mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
xorg-r200-uninitialized-variable-used.patch from Redhat xorg
This commit is contained in:
parent
d9166e132e
commit
a032297b32
1 changed files with 2 additions and 1 deletions
|
|
@ -152,9 +152,10 @@ r200TryReadPixels( GLcontext *ctx,
|
|||
GLvoid *pixels )
|
||||
{
|
||||
r200ContextPtr rmesa = R200_CONTEXT(ctx);
|
||||
GLint size;
|
||||
GLint pitch = pack->RowLength ? pack->RowLength : width;
|
||||
GLint blit_format;
|
||||
GLuint cpp = rmesa->r200Screen->cpp;
|
||||
GLint size = width * height * cpp;
|
||||
|
||||
if (R200_DEBUG & DEBUG_PIXEL)
|
||||
fprintf(stderr, "%s\n", __FUNCTION__);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue