r200: fix typo in r200TryDrawPixels parameter validation (bug 16406)

This commit is contained in:
Roland Scheidegger 2008-06-21 02:50:11 +02:00
parent 21177c8764
commit b3f1aac95e

View file

@ -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__);