From: Vladimir Dergachev Date: Tue, 1 Feb 2005 05:59:00 +0000 (+0000) Subject: Looks like we can define FIRE_VERTICES correctly. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4a3c6095fcf6900ddb7a8f1110de4b4162673356;p=mesa.git Looks like we can define FIRE_VERTICES correctly. --- diff --git a/src/mesa/drivers/dri/r300/r300_state.h b/src/mesa/drivers/dri/r300/r300_state.h index a04835c79d1..c161978e5ad 100644 --- a/src/mesa/drivers/dri/r300/r300_state.h +++ b/src/mesa/drivers/dri/r300/r300_state.h @@ -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)