mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 01:18:06 +02:00
r200: fix typo in r200TryDrawPixels parameter validation (bug 16406)
This commit is contained in:
parent
21177c8764
commit
b3f1aac95e
1 changed files with 1 additions and 1 deletions
|
|
@ -382,7 +382,7 @@ r200TryDrawPixels( GLcontext *ctx,
|
|||
GLint pitch = unpack->RowLength ? unpack->RowLength : width;
|
||||
GLuint planemask;
|
||||
GLuint cpp = rmesa->r200Screen->cpp;
|
||||
GLint size = width * pitch * cpp;
|
||||
GLint size = height * pitch * cpp;
|
||||
|
||||
if (R200_DEBUG & DEBUG_PIXEL)
|
||||
fprintf(stderr, "%s\n", __FUNCTION__);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue