wgl: Adapt for st_get_framebuffer_surface call change.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 23 Jan 2009 21:00:53 +0000 (21:00 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 23 Jan 2009 21:00:53 +0000 (21:00 +0000)
src/mesa/state_tracker/wgl/stw_wgl_swapbuffers.c

index bd86501..002bcc6 100644 (file)
@@ -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,