diff options
Diffstat (limited to 'r200/r200_pixel.c')
-rw-r--r-- | r200/r200_pixel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/r200/r200_pixel.c b/r200/r200_pixel.c index 7b060f9..d30f3e4 100644 --- a/r200/r200_pixel.c +++ b/r200/r200_pixel.c @@ -383,7 +383,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__); |