st/mesa: remove st_flush_bitmap wrapper
authorMarek Olšák <maraeo@gmail.com>
Sun, 22 Jul 2012 00:46:30 +0000 (02:46 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sun, 22 Jul 2012 01:32:55 +0000 (03:32 +0200)
just a cleanup

src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_bitmap.h
src/mesa/state_tracker/st_cb_flush.c

index 09152c7..f48c9c1 100644 (file)
@@ -684,16 +684,6 @@ st_flush_bitmap_cache(struct st_context *st)
 
 
 /**
- * Flush bitmap cache.
- */
-void
-st_flush_bitmap( struct st_context *st )
-{
-   st_flush_bitmap_cache(st);
-}
-
-
-/**
  * Try to accumulate this glBitmap call in the bitmap cache.
  * \return  GL_TRUE for success, GL_FALSE if bitmap is too large, etc.
  */
index ed14158..25410e5 100644 (file)
@@ -58,12 +58,6 @@ st_make_bitmap_fragment_program(struct st_context *st,
 extern void
 st_flush_bitmap_cache(struct st_context *st);
 
-/* Flush bitmap cache and release vertex buffer.  Needed at end of
- * frame to avoid synchronous rendering.
- */
-extern void
-st_flush_bitmap(struct st_context *st);
-
 #else
 
 static INLINE void
index 4e40a93..b4372ae 100644 (file)
@@ -81,7 +81,7 @@ void st_flush( struct st_context *st,
 {
    FLUSH_CURRENT(st->ctx, 0);
 
-   st_flush_bitmap(st);
+   st_flush_bitmap_cache(st);
 
    st->pipe->flush( st->pipe, fence );
 }