summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/dri/sw
diff options
context:
space:
mode:
authorBenjamin Franzke <[email protected]>2011-11-02 15:56:23 +0100
committerBenjamin Franzke <[email protected]>2011-11-02 15:56:23 +0100
commit31156c07b0292e477fa0d1f11fe7a318b6eda254 (patch)
tree70abefa0b2859b26db3b2be8d92ea40117155762 /src/gallium/state_trackers/dri/sw
parent98aa2a8f725e44aec8bd998fe436a134e94f13bb (diff)
st/dri/sw: Fix incorrect cast
Missed one casting error due to rebase for commit 98aa2a8f725e44aec8bd998fe436a134e94f13bb.
Diffstat (limited to 'src/gallium/state_trackers/dri/sw')
-rw-r--r--src/gallium/state_trackers/dri/sw/drisw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/dri/sw/drisw.c b/src/gallium/state_trackers/dri/sw/drisw.c
index f336fe075f8..f32a268e46f 100644
--- a/src/gallium/state_trackers/dri/sw/drisw.c
+++ b/src/gallium/state_trackers/dri/sw/drisw.c
@@ -234,7 +234,7 @@ drisw_update_tex_buffer(struct dri_drawable *drawable,
struct dri_context *ctx,
struct pipe_resource *res)
{
- struct pipe_context *pipe = ((struct st_context *) ctx)->st->pipe;
+ struct pipe_context *pipe = ((struct st_context *) ctx->st)->pipe;
__DRIdrawable *dPriv = drawable->dPriv;
__DRIscreen *sPriv = dPriv->driScreenPriv;
int x, y, w, h;