summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/dri/common/dri1_helper.c
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2010-05-17 21:34:03 +0200
committerRoland Scheidegger <sroland@vmware.com>2010-05-17 21:34:03 +0200
commitbf3c8ed481047d0c446d2d3d6d1de82403783fb0 (patch)
tree0fc37a75f1682c730ee9da51a2c80336881cb047 /src/gallium/state_trackers/dri/common/dri1_helper.c
parent685bb6941681f89f71a9169594d87c8e314b94d0 (diff)
st/dri: adapt to interface changes
Diffstat (limited to 'src/gallium/state_trackers/dri/common/dri1_helper.c')
-rw-r--r--src/gallium/state_trackers/dri/common/dri1_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/dri/common/dri1_helper.c b/src/gallium/state_trackers/dri/common/dri1_helper.c
index f641b41ff8..ad6c7d3750 100644
--- a/src/gallium/state_trackers/dri/common/dri1_helper.c
+++ b/src/gallium/state_trackers/dri/common/dri1_helper.c
@@ -93,7 +93,7 @@ dri1_get_pipe_surface(struct dri_drawable *drawable, struct pipe_resource *ptex)
pipe_surface_reference(&drawable->dri1_surface, NULL);
drawable->dri1_surface = pipe_screen->get_tex_surface(pipe_screen,
- ptex, 0, 0, 0, PIPE_BIND_BLIT_SOURCE);
+ ptex, 0, 0, 0, 0/* no bind flag???*/);
psurf = drawable->dri1_surface;
}