summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-01-30 21:51:59 +0000
committerJosé Fonseca <[email protected]>2009-01-30 21:51:59 +0000
commitb5d96a3e7f02314cbdc3897c4b89137f1e13bb0f (patch)
treeedf1879fedf6959ee18a0ab0865142f9c88d7cb8 /src/gallium
parentadfbba476db1fc55006efb748656ebb1a481d143 (diff)
stw: Don't use the winsys.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/winsys/gdi/gdi_softpipe_winsys.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gallium/winsys/gdi/gdi_softpipe_winsys.c b/src/gallium/winsys/gdi/gdi_softpipe_winsys.c
index 738bca3eac5..1abe84b6a01 100644
--- a/src/gallium/winsys/gdi/gdi_softpipe_winsys.c
+++ b/src/gallium/winsys/gdi/gdi_softpipe_winsys.c
@@ -177,9 +177,9 @@ gdi_softpipe_surface_buffer_create(struct pipe_winsys *winsys,
nblocksy = pf_get_nblocksy(&block, height);
*stride = round_up(nblocksx * block.size, alignment);
- return winsys->_buffer_create(winsys, alignment,
- usage,
- *stride * nblocksy);
+ return winsys->buffer_create(winsys, alignment,
+ usage,
+ *stride * nblocksy);
}
@@ -237,13 +237,13 @@ gdi_softpipe_screen_create(void)
winsys->destroy = gdi_softpipe_destroy;
- winsys->_buffer_create = gdi_softpipe_buffer_create;
- winsys->_user_buffer_create = gdi_softpipe_user_buffer_create;
- winsys->_buffer_map = gdi_softpipe_buffer_map;
- winsys->_buffer_unmap = gdi_softpipe_buffer_unmap;
- winsys->_buffer_destroy = gdi_softpipe_buffer_destroy;
+ winsys->buffer_create = gdi_softpipe_buffer_create;
+ winsys->user_buffer_create = gdi_softpipe_user_buffer_create;
+ winsys->buffer_map = gdi_softpipe_buffer_map;
+ winsys->buffer_unmap = gdi_softpipe_buffer_unmap;
+ winsys->buffer_destroy = gdi_softpipe_buffer_destroy;
- winsys->_surface_buffer_create = gdi_softpipe_surface_buffer_create;
+ winsys->surface_buffer_create = gdi_softpipe_surface_buffer_create;
winsys->fence_reference = gdi_softpipe_fence_reference;
winsys->fence_signalled = gdi_softpipe_fence_signalled;
@@ -268,7 +268,7 @@ gdi_softpipe_context_create(struct pipe_screen *screen)
static void
-gdi_softpipe_flush_frontbuffer(struct pipe_winsys *winsys,
+gdi_softpipe_flush_frontbuffer(struct pipe_screen *screen,
struct pipe_surface *surface,
HDC hDC)
{