summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c
index 43657704070..a09f555d1ac 100644
--- a/src/mesa/drivers/dri/i965/brw_draw.c
+++ b/src/mesa/drivers/dri/i965/brw_draw.c
@@ -381,7 +381,7 @@ static void
brw_update_primitive_count(struct brw_context *brw,
const struct _mesa_prim *prim)
{
- uint32_t count = count_tessellated_primitives(prim);
+ uint32_t count = vbo_count_tessellated_primitives(prim);
brw->sol.primitives_generated += count;
if (brw->intel.ctx.TransformFeedback.CurrentObject->Active &&
!brw->intel.ctx.TransformFeedback.CurrentObject->Paused) {