From 426f1c60bced83cd9d9d026249f7e99e44aeeae6 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Mon, 2 Jul 2018 08:15:43 -0400 Subject: [PATCH] mesa: fix error msg typo Signed-off-by: Rob Clark Reviewed-by: Brian Paul --- src/mesa/main/performance_monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/performance_monitor.c b/src/mesa/main/performance_monitor.c index 65ea8437fd8..359727777ff 100644 --- a/src/mesa/main/performance_monitor.c +++ b/src/mesa/main/performance_monitor.c @@ -542,7 +542,7 @@ _mesa_EndPerfMonitorAMD(GLuint monitor) * when a performance monitor is not currently started." */ if (!m->Active) { - _mesa_error(ctx, GL_INVALID_OPERATION, "glBeginPerfMonitor(not active)"); + _mesa_error(ctx, GL_INVALID_OPERATION, "glEndPerfMonitor(not active)"); return; } -- 2.30.2