r300: Changed r300_run_vb_render calls to r300RunRender in some conditionally
disabled code.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user