diff options
author | Alan Hourihane <[email protected]> | 2004-04-30 09:44:22 +0000 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2004-04-30 09:44:22 +0000 |
commit | ef5c82bd02926ac851537f1382352f8f6af33ece (patch) | |
tree | 15aaa556ddd200f6412d57319e5b2e3be41f1e23 /src | |
parent | 739f50f542392b06fcec1a2dcafcb4a8ef85441d (diff) |
If we can't allocate the rowimage - bail
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/x11/xm_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c index bdf6f1d4286..eada4740956 100644 --- 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; |