i965: check NULL pointer. fix bug#12193
This commit is contained in:
@@ -174,6 +174,8 @@ do_blit_bitmap( GLcontext *ctx,
|
||||
GLubyte ub[4];
|
||||
} color;
|
||||
|
||||
if (!dst)
|
||||
return GL_FALSE;
|
||||
|
||||
if (unpack->BufferObj->Name) {
|
||||
bitmap = map_pbo(ctx, width, height, unpack, bitmap);
|
||||
|
||||
Reference in New Issue
Block a user