diff options
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; |