mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-27 08:50:49 +02:00
Check for a valid context
This commit is contained in:
parent
4cd9e5c3c9
commit
feb0ff11e5
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue