diff options
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nv04_context.h')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nv04_context.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv04_context.h b/src/mesa/drivers/dri/nouveau/nv04_context.h index 960a6550dce..589aab27b74 100644 --- a/src/mesa/drivers/dri/nouveau/nv04_context.h +++ b/src/mesa/drivers/dri/nouveau/nv04_context.h @@ -32,15 +32,15 @@ struct nv04_context { struct nouveau_context base; - struct nouveau_grobj *eng3d; + struct nouveau_object *eng3d; struct nouveau_surface dummy_texture; float viewport[16]; }; #define to_nv04_context(ctx) ((struct nv04_context *)(ctx)) -#define nv04_mtex_engine(obj) ((obj)->grclass == NV04_MULTITEX_TRIANGLE) +#define nv04_mtex_engine(obj) ((obj)->oclass == NV04_MULTITEX_TRIANGLE_CLASS) -struct nouveau_grobj * +struct nouveau_object * nv04_context_engine(struct gl_context *ctx); extern const struct nouveau_driver nv04_driver; |