Mesa (master): nv50: fix typo in nv50_query.c

Ben Skeggs darktama at kemper.freedesktop.org
Tue Mar 24 22:07:56 PDT 2009


Module: Mesa
Branch: master
Commit: c306bf94d6ae20ce75965b1ae13213e24c976ed7
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c306bf94d6ae20ce75965b1ae13213e24c976ed7

Author: Ben Skeggs <bskeggs at redhat.com>
Date:   Wed Mar 25 12:16:25 2009 +1000

nv50: fix typo in nv50_query.c

---

 src/gallium/drivers/nv50/nv50_query.c |    2 +-
 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 a2c56f9..35cebdb 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);



More information about the mesa-commit mailing list