[Mesa-dev] [PATCH 1/2] mesa: fix error msg typo

Rob Clark robdclark at gmail.com
Mon Jul 2 15:13:27 UTC 2018


Signed-off-by: Rob Clark <robdclark at gmail.com>
---
 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.17.1



More information about the mesa-dev mailing list