st/dri/sw: Fix incorrect cast

Missed one casting error due to rebase for commit
98aa2a8f72.
This commit is contained in:
Benjamin Franzke 2011-11-02 15:56:23 +01:00
parent 98aa2a8f72
commit 31156c07b0
1 changed files with 1 additions and 1 deletions

View File

@ -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;