diff options
Diffstat (limited to 'src/gallium/drivers/trace')
-rw-r--r-- | src/gallium/drivers/trace/tr_context.c | 1 | ||||
-rw-r--r-- | src/gallium/drivers/trace/tr_screen.c | 9 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/gallium/drivers/trace/tr_context.c b/src/gallium/drivers/trace/tr_context.c index 240d85c69a1..b582abc8692 100644 --- a/src/gallium/drivers/trace/tr_context.c +++ b/src/gallium/drivers/trace/tr_context.c @@ -1548,7 +1548,6 @@ trace_context_create(struct trace_screen *tr_scr, if(!tr_ctx) goto error1; - tr_ctx->base.winsys = NULL; tr_ctx->base.priv = pipe->priv; /* expose wrapped priv data */ tr_ctx->base.screen = &tr_scr->base; diff --git a/src/gallium/drivers/trace/tr_screen.c b/src/gallium/drivers/trace/tr_screen.c index 362b21a810e..fd5acbefe51 100644 --- a/src/gallium/drivers/trace/tr_screen.c +++ b/src/gallium/drivers/trace/tr_screen.c @@ -480,7 +480,6 @@ struct pipe_screen * trace_screen_create(struct pipe_screen *screen) { struct trace_screen *tr_scr; - struct pipe_winsys *winsys; if(!screen) goto error1; @@ -494,14 +493,6 @@ trace_screen_create(struct pipe_screen *screen) if(!tr_scr) goto error2; -#if 0 - winsys = trace_winsys_create(screen->winsys); - if(!winsys) - goto error3; -#else - winsys = screen->winsys; -#endif - tr_scr->base.winsys = winsys; tr_scr->base.destroy = trace_screen_destroy; tr_scr->base.get_name = trace_screen_get_name; tr_scr->base.get_vendor = trace_screen_get_vendor; |