summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-01-23 21:00:53 +0000
committerJosé Fonseca <jfonseca@vmware.com>2009-01-23 21:00:53 +0000
commitaa210b327ef56e87a624504bceed1e8a51206b4e (patch)
treea49e0c40d3a4878961b334ebc03c7e73c3f8e8e9 /src
parentde29f5781ad9f3630b28f341bb41622a090cd8dc (diff)
wgl: Adapt for st_get_framebuffer_surface call change.
Diffstat (limited to 'src')
-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 bd86501ac0..002bcc64e7 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,