projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'origin/gallium-master-merge'
[mesa.git]
/
src
/
gallium
/
state_trackers
/
python
/
st_hardpipe_winsys.c
diff --git
a/src/gallium/state_trackers/python/st_hardpipe_winsys.c
b/src/gallium/state_trackers/python/st_hardpipe_winsys.c
index 1e04998232923efa4b8d7d29f7ad739c9b3c73cb..8b33c70fd7111e44ae39531c8691c7aeb7f08c9a 100644
(file)
--- 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;
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)
{
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)
{
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,
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
};
};