mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
If we can't allocate the rowimage - bail
This commit is contained in:
parent
739f50f542
commit
ef5c82bd02
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue