Check for a valid context
This commit is contained in:
parent
4cd9e5c3c9
commit
feb0ff11e5
|
@ -328,7 +328,8 @@ _mesa_resize_framebuffer(GLcontext *ctx, struct gl_framebuffer *fb,
|
|||
fb->Height = height;
|
||||
|
||||
/* to update scissor / window bounds */
|
||||
_mesa_update_draw_buffer_bounds(ctx);
|
||||
if (ctx)
|
||||
_mesa_update_draw_buffer_bounds(ctx);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue