From ef5c82bd02926ac851537f1382352f8f6af33ece Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Fri, 30 Apr 2004 09:44:22 +0000 Subject: If we can't allocate the rowimage - bail --- src/mesa/drivers/x11/xm_api.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c index bdf6f1d428..eada474095 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; -- cgit v1.2.3