On 07/02/2018 09:13 AM, Rob Clark wrote:
Signed-off-by: Rob Clark <robdcl...@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;
}
Reviewed-by: Brian Paul <bri...@vmware.com>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev