summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50/nv50_query.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2009-03-25 12:16:25 +1000
committerBen Skeggs <bskeggs@redhat.com>2009-03-25 12:16:36 +1000
commitc306bf94d6ae20ce75965b1ae13213e24c976ed7 (patch)
treede0a9211b35914c82264d296d50c1d7042c83968 /src/gallium/drivers/nv50/nv50_query.c
parent88b19bbe651e4362d0bc96eb6ec10218c2ef6cf2 (diff)
nv50: fix typo in nv50_query.c
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_query.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_query.c b/src/gallium/drivers/nv50/nv50_query.c
index a2c56f99a8..35cebdbdc3 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);