Module: Mesa
Branch: master
Commit: 426f1c60bced83cd9d9d026249f7e99e44aeeae6
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=426f1c60bced83cd9d9d026249f7e99e44aeeae6

Author: Rob Clark <[email protected]>
Date:   Mon Jul  2 08:15:43 2018 -0400

mesa: fix error msg typo

Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Brian Paul <[email protected]>

---

 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 65ea8437fd..359727777f 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;
    }
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to