diff options
author | Christian König <[email protected]> | 2011-07-08 12:15:48 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-07-08 12:15:48 +0200 |
commit | 06ddbc3b8e58a6cf22708263a8b7d16cf1db5dbc (patch) | |
tree | 1c712b07bac17c050c1bfd9912a07452c8d68949 /src/gallium/winsys/g3dvl/xlib | |
parent | 2ec350ff1d9f13ec95d7b9d46f57ad9b9efcc8ea (diff) |
[g3dvl] remove create_surface from video context
Diffstat (limited to 'src/gallium/winsys/g3dvl/xlib')
-rw-r--r-- | src/gallium/winsys/g3dvl/xlib/xsp_winsys.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c b/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c index 3caf6603243..5cea6196cf7 100644 --- a/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c +++ b/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c @@ -99,8 +99,8 @@ vl_drawable_surface_get(struct vl_context *vctx, Drawable drawable) memset(&surf_template, 0, sizeof(surf_template)); surf_template.format = templat.format; surf_template.usage = PIPE_BIND_RENDER_TARGET; - xsp_screen->drawable_surface = vctx->vpipe->create_surface(vctx->vpipe, drawable_tex, - &surf_template); + xsp_screen->drawable_surface = vctx->pipe->create_surface(vctx->pipe, drawable_tex, + &surf_template); pipe_resource_reference(&drawable_tex, NULL); if (!xsp_screen->drawable_surface) @@ -172,7 +172,7 @@ void vl_screen_destroy(struct vl_screen *vscreen) struct vl_context* vl_video_create(struct vl_screen *vscreen) { - struct pipe_video_context *pipe; + struct pipe_context *pipe; struct pipe_video_context *vpipe; struct vl_context *vctx; |