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 bd86501ac04598e22a63a04dccd60f7887ff15ec..002bcc64e72f48dfed2c41c0edc95d61b719774c 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,