projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f8a61f
)
dri/swrast: use SWRAST_MAX_WIDTH/HEIGHT
author
Brian Paul
<brianp@vmware.com>
Mon, 20 Feb 2012 18:07:00 +0000
(11:07 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 24 Feb 2012 15:03:09 +0000
(08:03 -0700)
src/mesa/drivers/dri/swrast/swrast.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/swrast/swrast.c
b/src/mesa/drivers/dri/swrast/swrast.c
index d18dd09278061d5992612153cb89beadf7193775..22d71bf1024b307f25db8c2fe0eabf4bbea78935 100644
(file)
--- a/
src/mesa/drivers/dri/swrast/swrast.c
+++ b/
src/mesa/drivers/dri/swrast/swrast.c
@@
-469,7
+469,7
@@
dri_create_buffer(__DRIscreen * sPriv,
dPriv->driverPrivate = drawable;
drawable->dPriv = dPriv;
- drawable->row = malloc(MAX_WIDTH * 4);
+ drawable->row = malloc(
SWRAST_
MAX_WIDTH * 4);
if (drawable->row == NULL)
goto drawable_fail;