nv50: fix typo in nv50_query.c
authorBen Skeggs <bskeggs@redhat.com>
Wed, 25 Mar 2009 02:16:25 +0000 (12:16 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 25 Mar 2009 02:16:36 +0000 (12:16 +1000)
src/gallium/drivers/nv50/nv50_query.c

index a2c56f99a89b9da49312317fe3f8043112acfc19..35cebdbdc32c1481eb3a621846fff552708d826b 100644 (file)
@@ -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);