i965/gs: implement EndPrimitive() functionality in the visitor.
[mesa.git] / src / mesa / drivers / dri / nouveau / nouveau_fbo.c
index f997ac888f9f076c7e197868fdd0a5da73eda94d..25543e458b44e9b0fb30b1c81b92ee4e3925304e 100644 (file)
@@ -263,9 +263,9 @@ nouveau_render_texture(struct gl_context *ctx, struct gl_framebuffer *fb,
 
 static void
 nouveau_finish_render_texture(struct gl_context *ctx,
-                             struct gl_renderbuffer_attachment *att)
+                             struct gl_renderbuffer *rb)
 {
-       texture_dirty(att->Texture);
+       texture_dirty(rb->TexImage->TexObject);
 }
 
 void