Merge branch 'lp-offset-twoside'
[mesa.git] / src / mesa / drivers / dri / nouveau / nv04_state_tex.c
index b720089fbf051e10fd783c386faff8ae716df343..5ed8b147559bb9974774362cb90fa16f87e28857 100644 (file)
@@ -29,7 +29,8 @@
 #include "nouveau_texture.h"
 #include "nouveau_util.h"
 #include "nouveau_gldefs.h"
-#include "nouveau_class.h"
+#include "nv_object.xml.h"
+#include "nv04_3d.xml.h"
 #include "nv04_driver.h"
 
 static uint32_t
@@ -56,7 +57,7 @@ get_tex_format(struct gl_texture_image *ti)
 }
 
 void
-nv04_emit_tex_obj(GLcontext *ctx, int emit)
+nv04_emit_tex_obj(struct gl_context *ctx, int emit)
 {
        const int i = emit - NOUVEAU_STATE_TEX_OBJ0;
        struct nouveau_channel *chan = context_chan(ctx);