summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/wgl/stw_wgl_swapbuffers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/wgl/stw_wgl_swapbuffers.c b/src/mesa/state_tracker/wgl/stw_wgl_swapbuffers.c
index bd86501ac04..002bcc64e72 100644
--- a/src/mesa/state_tracker/wgl/stw_wgl_swapbuffers.c
+++ b/src/mesa/state_tracker/wgl/stw_wgl_swapbuffers.c
@@ -53,7 +53,7 @@ wglSwapBuffers(
*/
st_notify_swapbuffers( fb->stfb );
- surf = st_get_framebuffer_surface( fb->stfb, ST_SURFACE_BACK_LEFT );
+ st_get_framebuffer_surface( fb->stfb, ST_SURFACE_BACK_LEFT, &surf );
stw_dev->stw_winsys->flush_frontbuffer(stw_dev->screen->winsys,
surf,