summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vdpau/surface.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2011-03-18 00:26:34 +0100
committerChristian König <[email protected]>2011-03-19 00:06:46 +0100
commitb90f569a0f8578a20b9ee2997396b6c3ddd3b573 (patch)
treed78c729ae9ace13ca54452184ddfe17628f2b926 /src/gallium/state_trackers/vdpau/surface.c
parent0719fdee2ecd8433eb687a2fb38a2cbcb1cea14a (diff)
vdpau: merge fixes for vdpau state tracker
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 9b6dac9c3f4..0ebfd12d988 100644
--- a/src/gallium/state_trackers/vdpau/surface.c
+++ b/src/gallium/state_trackers/vdpau/surface.c
@@ -104,7 +104,7 @@ vlVdpVideoSurfaceDestroy ( VdpVideoSurface surface )
if (p_surf->psurface) {
if (p_surf->psurface->texture) {
if (p_surf->psurface->texture->screen)
- p_surf->psurface->texture->screen->tex_surface_destroy(p_surf->psurface);
+ p_surf->psurface->context->surface_destroy(p_surf->psurface->context, p_surf->psurface);
}
}
FREE(p_surf);