summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/python/st_hardpipe_winsys.c
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-08-13 12:41:19 +0100
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-08-14 11:01:42 +0100
commit50c6092355edf9e978a3c34cb816d4833bcf92fd (patch)
tree0e7d671344f2c0d2c22c6d8bbe6ccf756da35687 /src/gallium/state_trackers/python/st_hardpipe_winsys.c
parent0ecaa37e49ff3a745b821ba7027eebeed938547a (diff)
python: Simplify st_winsys.
Diffstat (limited to 'src/gallium/state_trackers/python/st_hardpipe_winsys.c')
-rw-r--r--src/gallium/state_trackers/python/st_hardpipe_winsys.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/gallium/state_trackers/python/st_hardpipe_winsys.c b/src/gallium/state_trackers/python/st_hardpipe_winsys.c
index 1e04998232..8b33c70fd7 100644
--- a/src/gallium/state_trackers/python/st_hardpipe_winsys.c
+++ b/src/gallium/state_trackers/python/st_hardpipe_winsys.c
@@ -42,13 +42,6 @@ extern void init_gallium(void);
void (*force_init_gallium_linkage)(void) = &init_gallium;
-static void
-st_hardpipe_screen_destroy(struct pipe_screen *screen)
-{
- st_softpipe_winsys.screen_destroy(screen);
-}
-
-
static struct pipe_screen *
st_hardpipe_screen_create(void)
{
@@ -56,13 +49,6 @@ st_hardpipe_screen_create(void)
}
-static void
-st_hardpipe_context_destroy(struct pipe_context *pipe)
-{
- st_softpipe_winsys.context_destroy(pipe);
-}
-
-
static struct pipe_context *
st_hardpipe_context_create(struct pipe_screen *screen)
{
@@ -72,7 +58,5 @@ st_hardpipe_context_create(struct pipe_screen *screen)
const struct st_winsys st_hardpipe_winsys = {
&st_hardpipe_screen_create,
- &st_hardpipe_screen_destroy,
- &st_hardpipe_context_create,
- &st_hardpipe_context_destroy
+ &st_hardpipe_context_create
};