draw: move prototype, update comment
authorBrian Paul <brianp@vmware.com>
Thu, 15 Jul 2010 21:41:15 +0000 (15:41 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 15 Jul 2010 21:42:36 +0000 (15:42 -0600)
src/gallium/auxiliary/draw/draw_context.h

index 724f992783b88022a127e0105bde49398c24bf3f..116716af6f0aa65a07b8ba0ba7df6e9163d7bd32 100644 (file)
@@ -53,6 +53,8 @@ struct draw_context *draw_create( struct pipe_context *pipe );
 
 void draw_destroy( struct draw_context *draw );
 
+void draw_flush(struct draw_context *draw);
+
 void draw_set_viewport_state( struct draw_context *draw,
                               const struct pipe_viewport_state *viewport );
 
@@ -191,7 +193,7 @@ draw_set_so_state(struct draw_context *draw,
 
 
 /***********************************************************************
- * draw_prim.c 
+ * draw_pt.c 
  */
 
 void draw_arrays(struct draw_context *draw, unsigned prim,
@@ -205,8 +207,6 @@ draw_arrays_instanced(struct draw_context *draw,
                       unsigned startInstance,
                       unsigned instanceCount);
 
-void draw_flush(struct draw_context *draw);
-
 
 /*******************************************************************************
  * Driver backend interface