diff options
author | Roland Scheidegger <[email protected]> | 2008-06-21 02:50:11 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2008-06-21 02:54:14 +0200 |
commit | b3f1aac95e5cef26824da08c89fcf2b08ac5ef86 (patch) | |
tree | 3827a2879552bb17db06b1c76401c01a1f4ea0f6 /src | |
parent | 21177c8764638e1d4b3b29fed64adec62a14e936 (diff) |
r200: fix typo in r200TryDrawPixels parameter validation (bug 16406)
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_pixel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_pixel.c b/src/mesa/drivers/dri/r200/r200_pixel.c index db8ceeabe03..46d230767a1 100644 --- a/src/mesa/drivers/dri/r200/r200_pixel.c +++ b/src/mesa/drivers/dri/r200/r200_pixel.c @@ -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__); |