From: Ben Skeggs Date: Wed, 25 Mar 2009 02:16:25 +0000 (+1000) Subject: nv50: fix typo in nv50_query.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c306bf94d6ae20ce75965b1ae13213e24c976ed7;p=mesa.git nv50: fix typo in nv50_query.c --- diff --git a/src/gallium/drivers/nv50/nv50_query.c b/src/gallium/drivers/nv50/nv50_query.c index a2c56f99a89..35cebdbdc32 100644 --- a/src/gallium/drivers/nv50/nv50_query.c +++ b/src/gallium/drivers/nv50/nv50_query.c @@ -41,7 +41,7 @@ nv50_query(struct pipe_query *pipe) static struct pipe_query * nv50_query_create(struct pipe_context *pipe, unsigned type) { - struct pipe_screen *screen = pipe->winsys; + struct pipe_screen *screen = pipe->screen; struct nv50_query *q = CALLOC_STRUCT(nv50_query); assert (q->type == PIPE_QUERY_OCCLUSION_COUNTER);