projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34bba44
)
Finish off the previous fix for TFP.
author
Eric Anholt
<eric@anholt.net>
Fri, 12 Sep 2008 21:18:14 +0000
(14:18 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 12 Sep 2008 22:09:43 +0000
(15:09 -0700)
A couple of those lines of debug printfs I deleted weren't actually debug
printfs.
src/glx/x11/dri2_glx.c
patch
|
blob
|
history
diff --git
a/src/glx/x11/dri2_glx.c
b/src/glx/x11/dri2_glx.c
index c56adfa558761175ef8ce6050feed1bb0a2e4436..3c366bfa1e4cdb12fcfcfdf382f645c7d40458b3 100644
(file)
--- a/
src/glx/x11/dri2_glx.c
+++ b/
src/glx/x11/dri2_glx.c
@@
-211,6
+211,9
@@
dri2GetBuffers(__DRIdrawable *driDrawable,
buffers = DRI2GetBuffers(pdraw->base.psc->dpy, pdraw->base.xDrawable,
width, height, attachments, count, out_count);
+ if (buffers == NULL)
+ return NULL;
+
pdraw->width = *width;
pdraw->height = *height;