r300: Changed r300_run_vb_render calls to r300RunRender in some conditionally

disabled code.
This commit is contained in:
Oliver McFadden
2007-05-09 15:07:34 +00:00
parent faf47d9f84
commit fe6a2c4295
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -914,8 +914,8 @@ extern int r300Fallback(GLcontext * ctx);
extern void radeon_vb_to_rvb(r300ContextPtr rmesa,
struct radeon_vertex_buffer *rvb,
struct vertex_buffer *vb);
extern GLboolean r300_run_vb_render(GLcontext * ctx,
struct tnl_pipeline_stage *stage);
extern GLboolean r300RunRender(GLcontext * ctx,
struct tnl_pipeline_stage *stage);
#ifdef RADEON_VTXFMT_A
extern void radeon_init_vtxfmt_a(r300ContextPtr rmesa);
+2 -2
View File
@@ -337,7 +337,7 @@ static void radeonDrawRangeElements(GLcontext *ctx,
rmesa->state.VB.elt_min = min;
rmesa->state.VB.elt_max = max;
if (r300_run_vb_render(ctx, NULL)) {
if (r300RunRender(ctx, NULL)) {
r300ReleaseDmaRegion(rmesa, &rvb, __FUNCTION__);
return GL_FALSE;
}
@@ -398,7 +398,7 @@ static GLboolean radeonDrawArrays( GLcontext *ctx,
rmesa->state.VB.elt_min = 0;
rmesa->state.VB.elt_max = 0;
if (r300_run_vb_render(ctx, NULL))
if (r300RunRender(ctx, NULL))
return GL_FALSE;
return GL_TRUE;