projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9576426
)
added null xmctx check to XMesaResizeBuffers(), bug 7205
author
Mathias Hopf
<mhopf@suse.de>
Fri, 16 Mar 2007 14:28:34 +0000
(08:28 -0600)
committer
Brian
<brian@yutani.localnet.net>
Fri, 16 Mar 2007 14:28:34 +0000
(08:28 -0600)
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 cbbbd56efd5461776c3b207bbb0c05fae8eda78c..ba020fc3d6a86a2f85a5086b92db96beb15e5705 100644
(file)
--- a/
src/mesa/drivers/x11/xm_api.c
+++ b/
src/mesa/drivers/x11/xm_api.c
@@
-2499,6
+2499,8
@@
XMesaResizeBuffers( XMesaBuffer b )
{
GET_CURRENT_CONTEXT(ctx);
XMesaContext xmctx = XMESA_CONTEXT(ctx);
+ if (!xmctx)
+ return;
xmesa_check_and_update_buffer_size(xmctx, b);
}