summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorYounes Manton <[email protected]>2010-03-12 14:38:37 -0500
committerYounes Manton <[email protected]>2010-03-12 14:38:37 -0500
commit035332cbbbc173387b2c03c5f7120a2fdb608625 (patch)
treeab2903326736a62ffbc923e19c02b1d6f0e4c3ce /src/gallium/state_trackers
parentf1bbd41e326ce7a90e9b5956195203eee537cbc7 (diff)
vl: Remove pipe_video_surface hooks from pipe_screen as well.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/xorg/xvmc/surface.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/xorg/xvmc/surface.c b/src/gallium/state_trackers/xorg/xvmc/surface.c
index d2c4e5f19ca..354c257a806 100644
--- a/src/gallium/state_trackers/xorg/xvmc/surface.c
+++ b/src/gallium/state_trackers/xorg/xvmc/surface.c
@@ -127,8 +127,7 @@ CreateOrResizeBackBuffer(struct vl_context *vctx, unsigned int width, unsigned i
return false;
*backbuffer = vpipe->screen->get_tex_surface(vpipe->screen, tex, 0, 0, 0,
- PIPE_BUFFER_USAGE_GPU_READ |
- PIPE_BUFFER_USAGE_GPU_WRITE);
+ PIPE_BUFFER_USAGE_GPU_READ_WRITE);
pipe_texture_reference(&tex, NULL);
if (!*backbuffer)