mesa: fix error msg typo
authorRob Clark <robdclark@gmail.com>
Mon, 2 Jul 2018 12:15:43 +0000 (08:15 -0400)
committerRob Clark <robdclark@gmail.com>
Wed, 18 Jul 2018 14:10:44 +0000 (10:10 -0400)
Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/performance_monitor.c

index 65ea8437fd887e95b50e3e08395c75da6c0d8068..359727777ff5e1efc75ad51961abd079c50c19ad 100644 (file)
@@ -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;
    }