diff options
author | Christian König <[email protected]> | 2012-02-15 17:20:50 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2012-02-25 12:14:14 +0100 |
commit | 1448e829e86981e6144410ba6a3d0f16357fb2b3 (patch) | |
tree | 18a95fc6ebab9afd59837d419f2e5ab96130624b /src/gallium/state_trackers/vdpau/surface.c | |
parent | b34c35a5243e0f4a23721891dbbccff8863b7d4c (diff) |
vl: rework winsys interface
Throw out all the old and now unneeded stuff.
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/vdpau/surface.c')
-rw-r--r-- | src/gallium/state_trackers/vdpau/surface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/vdpau/surface.c b/src/gallium/state_trackers/vdpau/surface.c index a0ebe001aa8..04832426a10 100644 --- a/src/gallium/state_trackers/vdpau/surface.c +++ b/src/gallium/state_trackers/vdpau/surface.c @@ -71,7 +71,7 @@ vlVdpVideoSurfaceCreate(VdpDevice device, VdpChromaType chroma_type, } p_surf->device = dev; - pipe = dev->context->pipe; + pipe = dev->context; memset(&p_surf->templat, 0, sizeof(p_surf->templat)); p_surf->templat.buffer_format = pipe->screen->get_video_param @@ -204,7 +204,7 @@ vlVdpVideoSurfacePutBitsYCbCr(VdpVideoSurface surface, if (!p_surf) return VDP_STATUS_INVALID_HANDLE; - pipe = p_surf->device->context->pipe; + pipe = p_surf->device->context; if (!pipe) return VDP_STATUS_INVALID_HANDLE; |