summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/gdi/gdi_softpipe_winsys.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-09-24 13:09:40 +0100
committerJosé Fonseca <[email protected]>2009-09-24 13:12:51 +0100
commit86962d6f6eb74cc426f57b760cc0cdcb9fec3eef (patch)
treeb99fc36e2f4e6c9cb2e9c9521b8f207f34f7c8d8 /src/gallium/winsys/gdi/gdi_softpipe_winsys.c
parent4e5ed05b025b9b6a1a6dabba72fce3d918e77044 (diff)
gdi: Update for WGL state tracker interface changes.
Diffstat (limited to 'src/gallium/winsys/gdi/gdi_softpipe_winsys.c')
-rw-r--r--src/gallium/winsys/gdi/gdi_softpipe_winsys.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/gallium/winsys/gdi/gdi_softpipe_winsys.c b/src/gallium/winsys/gdi/gdi_softpipe_winsys.c
index d82c8d67736..5e0ccf32f48 100644
--- a/src/gallium/winsys/gdi/gdi_softpipe_winsys.c
+++ b/src/gallium/winsys/gdi/gdi_softpipe_winsys.c
@@ -269,9 +269,9 @@ gdi_softpipe_context_create(struct pipe_screen *screen)
static void
-gdi_softpipe_flush_frontbuffer(struct pipe_screen *screen,
- struct pipe_surface *surface,
- HDC hDC)
+gdi_softpipe_present(struct pipe_screen *screen,
+ struct pipe_surface *surface,
+ HDC hDC)
{
struct softpipe_texture *texture;
struct gdi_softpipe_buffer *buffer;
@@ -304,7 +304,11 @@ gdi_softpipe_flush_frontbuffer(struct pipe_screen *screen,
static const struct stw_winsys stw_winsys = {
&gdi_softpipe_screen_create,
&gdi_softpipe_context_create,
- &gdi_softpipe_flush_frontbuffer
+ &gdi_softpipe_present,
+ NULL, /* get_adapter_luid */
+ NULL, /* shared_surface_open */
+ NULL, /* shared_surface_close */
+ NULL /* compose */
};