[Mesa-dev] [PATCH 1/2] mesa: fix error msg typo
Brian Paul
brianp at vmware.com
Mon Jul 2 16:15:01 UTC 2018
On 07/02/2018 09:13 AM, Rob Clark wrote:
> 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;
> }
>
>
Reviewed-by: Brian Paul <brianp at vmware.com>
More information about the mesa-dev
mailing list