summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2018-07-02 08:15:43 -0400
committerRob Clark <[email protected]>2018-07-18 10:10:44 -0400
commit426f1c60bced83cd9d9d026249f7e99e44aeeae6 (patch)
tree1892cd1222cd2ca9ec78a2d4a0dd32107f57f2f1 /src/mesa/main
parent640b8eb5b13a2e3c6f5fc7f2a2174e74df274089 (diff)
mesa: fix error msg typo
Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/performance_monitor.c2
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;
}