Commit 31156c07 authored by Benjamin Franzke's avatar Benjamin Franzke 😀
Browse files

st/dri/sw: Fix incorrect cast

Missed one casting error due to rebase for commit
98aa2a8f.
parent 98aa2a8f
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment