From 788bb78989415a2890bc1d902bcc957b12860341 Mon Sep 17 00:00:00 2001 From: Ray Date: Thu, 20 Dec 2018 10:40:28 +0100 Subject: Some tweaks --- src/rlgl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/rlgl.h b/src/rlgl.h index f8b5ac11..e1b9a98b 100644 --- a/src/rlgl.h +++ b/src/rlgl.h @@ -2891,8 +2891,8 @@ int GetShaderLocation(Shader shader, const char *uniformName) #if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2) location = glGetUniformLocation(shader.id, uniformName); - if (location == -1) TraceLog(LOG_WARNING, "[SHDR ID %i] Shader uniform [%s] COULD NOT BE FOUND", shader.id, uniformName); - else TraceLog(LOG_INFO, "[SHDR ID %i] Shader uniform [%s] set at location: %i", shader.id, uniformName, location); + if (location == -1) TraceLog(LOG_WARNING, "[SHDR ID %i][%s] Shader uniform could not be found", shader.id, uniformName); + else TraceLog(LOG_INFO, "[SHDR ID %i][%s] Shader uniform set at location: %i", shader.id, uniformName, location); #endif return location; } -- cgit v1.2.3