summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vdpau/surface.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2011-04-24 19:20:33 +0200
committerChristian König <[email protected]>2011-04-24 19:29:34 +0200
commit3ea7e2713c836f23d59c4034385609e371a94c8d (patch)
tree523a78de983e49e031a566873703f5db2edf3d2d /src/gallium/state_trackers/vdpau/surface.c
parentb54909910c04313fb45c4e8f39091ad73ec329f3 (diff)
[g3dvl] start supporting different render target formats
Let's start with NV12, but anything else shouldn't be much of a problem any more.
Diffstat (limited to 'src/gallium/state_trackers/vdpau/surface.c')
-rw-r--r--src/gallium/state_trackers/vdpau/surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/vdpau/surface.c b/src/gallium/state_trackers/vdpau/surface.c
index cd2125fce63..c30cd07f434 100644
--- a/src/gallium/state_trackers/vdpau/surface.c
+++ b/src/gallium/state_trackers/vdpau/surface.c
@@ -176,7 +176,7 @@ vlVdpVideoSurfacePutBitsYCbCr(VdpVideoSurface surface,
return VDP_STATUS_NO_IMPLEMENTATION;
}
- sampler_views = p_surf->video_buffer->get_sampler_views(p_surf->video_buffer);
+ sampler_views = p_surf->video_buffer->get_sampler_view_planes(p_surf->video_buffer);
if (!sampler_views)
return VDP_STATUS_RESOURCES;