diff options
Diffstat (limited to 'src/mesa/pipe/nv40/nv40_context.h')
-rw-r--r-- | src/mesa/pipe/nv40/nv40_context.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/nv40/nv40_context.h b/src/mesa/pipe/nv40/nv40_context.h index 3a1d3f076c..83d3f7b676 100644 --- a/src/mesa/pipe/nv40/nv40_context.h +++ b/src/mesa/pipe/nv40/nv40_context.h @@ -35,7 +35,7 @@ struct nv40_context { /* query objects */ struct nouveau_notifier *query; - struct pipe_query_object **query_objects; + boolean *query_objects; uint num_query_objects; uint32_t dirty; @@ -64,7 +64,7 @@ struct nv40_context { struct pipe_vertex_buffer vtxbuf[PIPE_ATTRIB_MAX]; struct pipe_vertex_element vtxelt[PIPE_ATTRIB_MAX]; }; - +#define nv40_context(ctx) ((struct nv40_context *)(ctx)) extern void nv40_init_state_functions(struct nv40_context *nv40); extern void nv40_init_surface_functions(struct nv40_context *nv40); |