projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
739f50f
)
If we can't allocate the rowimage - bail
author
Alan Hourihane
<alanh@tungstengraphics.com>
Fri, 30 Apr 2004 09:44:22 +0000
(09:44 +0000)
committer
Alan Hourihane
<alanh@tungstengraphics.com>
Fri, 30 Apr 2004 09:44:22 +0000
(09:44 +0000)
src/mesa/drivers/x11/xm_api.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/x11/xm_api.c
b/src/mesa/drivers/x11/xm_api.c
index bdf6f1d42861090465ecaf2b4c1869c952161b9d..eada47409566e197cddcf2165294cd5f247d91da 100644
(file)
--- a/
src/mesa/drivers/x11/xm_api.c
+++ b/
src/mesa/drivers/x11/xm_api.c
@@
-1341,6
+1341,8
@@
static GLboolean initialize_visual_and_buffer( int client,
32, /*bitmap_pad*/
0 /*bytes_per_line*/ );
#endif
+ if (!b->rowimage)
+ return GL_FALSE;
}
return GL_TRUE;