From aa210b327ef56e87a624504bceed1e8a51206b4e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Fri, 23 Jan 2009 21:00:53 +0000 Subject: [PATCH] wgl: Adapt for st_get_framebuffer_surface call change. --- src/mesa/state_tracker/wgl/stw_wgl_swapbuffers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.30.2