Module: Mesa
Branch: gallium-0.2
Commit: aa210b327ef56e87a624504bceed1e8a51206b4e
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa210b327ef56e87a624504bceed1e8a51206b4e

Author: José Fonseca <jfons...@vmware.com>
Date:   Fri Jan 23 21:00:53 2009 +0000

wgl: Adapt for st_get_framebuffer_surface call change.

---

 src/mesa/state_tracker/wgl/stw_wgl_swapbuffers.c |    2 +-
 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 bd86501..002bcc6 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,

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to