Looks like we can define FIRE_VERTICES correctly.
authorVladimir Dergachev <volodya@freedesktop.org>
Tue, 1 Feb 2005 05:59:00 +0000 (05:59 +0000)
committerVladimir Dergachev <volodya@freedesktop.org>
Tue, 1 Feb 2005 05:59:00 +0000 (05:59 +0000)
src/mesa/drivers/dri/r300/r300_state.h

index a04835c79d15ecac9917c703bc3481ae41373506..c161978e5ad68c293686f257872360f827d40d91 100644 (file)
@@ -48,11 +48,11 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 #define R300_FIREVERTICES( r300 )                      \
 do {                                                   \
-   /* \
-   if ( (r300)->store.cmd_used || (r300)->dma.flush ) {        \
-      radeonFlush( (r300)->radeon.glCtx );             \
+    \
+   if ( (r300)->cmdbuf.count_used || (r300)->dma.flush ) {     \
+      r300Flush( (r300)->radeon.glCtx );               \
    }                                                   \
-   */ \
+    \
 } while (0)