summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-05-30 18:00:18 -0700
committerJosé Fonseca <[email protected]>2009-05-30 20:29:03 -0700
commit76f2bacb07b1b55a50018a1ccee42943d5e8a477 (patch)
treec90b7c8297d031fd09f8692cfdb3ca65cf73ba7a
parent1124f786c1a839036cc1b17f9398eead9f16b1c9 (diff)
wgl: Rename function.
-rw-r--r--src/gallium/state_trackers/wgl/shared/stw_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/wgl/shared/stw_device.c b/src/gallium/state_trackers/wgl/shared/stw_device.c
index eef848988c0..ada2511581a 100644
--- a/src/gallium/state_trackers/wgl/shared/stw_device.c
+++ b/src/gallium/state_trackers/wgl/shared/stw_device.c
@@ -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 );