wgl: Rename function.
authorJosé Fonseca <jfonseca@vmware.com>
Sun, 31 May 2009 01:00:18 +0000 (18:00 -0700)
committerJosé Fonseca <jfonseca@vmware.com>
Sun, 31 May 2009 03:29:03 +0000 (20:29 -0700)
src/gallium/state_trackers/wgl/shared/stw_device.c

index eef848988c0755fc98055e64de5e207bd8ea322d..ada2511581ab14cb89323b8f9d1774d89b92c922 100644 (file)
@@ -57,7 +57,7 @@ struct stw_device *stw_dev = NULL;
  * stw_winsys::flush_front_buffer.
  */
 static void 
-st_flush_frontbuffer(struct pipe_screen *screen,
+stw_flush_frontbuffer(struct pipe_screen *screen,
                      struct pipe_surface *surface,
                      void *context_private )
 {
@@ -111,7 +111,7 @@ stw_init(const struct stw_winsys *stw_winsys)
    stw_dev->screen = screen;
 #endif
    
-   stw_dev->screen->flush_frontbuffer = st_flush_frontbuffer;
+   stw_dev->screen->flush_frontbuffer = &stw_flush_frontbuffer;
    
    pipe_mutex_init( stw_dev->mutex );