diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2009-06-08 14:34:16 +0200 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2009-06-08 14:45:56 +0200 |
commit | 4d9d0e62306ce1a046ff724936016a4f080cf21a (patch) | |
tree | 346f56ad862a012e5966b5bf6a83f4b311f3a208 | |
parent | 283e84bfb3066a3e3d778d4065b448ddd288fbb4 (diff) |
stw: If stfb not set don't call into mesa
-rw-r--r-- | src/gallium/state_trackers/wgl/shared/stw_framebuffer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/wgl/shared/stw_framebuffer.c b/src/gallium/state_trackers/wgl/shared/stw_framebuffer.c index de37d135df..f27f4cda21 100644 --- a/src/gallium/state_trackers/wgl/shared/stw_framebuffer.c +++ b/src/gallium/state_trackers/wgl/shared/stw_framebuffer.c @@ -118,7 +118,8 @@ stw_call_window_proc( * be called from any thread. */ pipe_mutex_lock( fb->mutex ); - st_resize_framebuffer( fb->stfb, width, height ); + if (fb->stfb) + st_resize_framebuffer( fb->stfb, width, height ); pipe_mutex_unlock( fb->mutex ); } } |