diff options
-rw-r--r-- | src/mesa/state_tracker/st_atom_framebuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_atom_framebuffer.c b/src/mesa/state_tracker/st_atom_framebuffer.c index 5c2f2aabca2..ca193a04cb2 100644 --- a/src/mesa/state_tracker/st_atom_framebuffer.c +++ b/src/mesa/state_tracker/st_atom_framebuffer.c @@ -119,7 +119,7 @@ st_update_framebuffer_state( struct st_context *st ) /* Window framebuffer changes are received here. */ #ifdef HAVE_TIZEN_PLATFORM bool valid = true; - if (fb->drawable->validate_drawable) + if (fb->drawable && fb->drawable->validate_drawable) valid = fb->drawable->validate_drawable(fb->drawable); st_manager_validate_framebuffers(st, valid); #else |