diff options
-rw-r--r-- | src/mesa/main/performance_monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |