diff options
| author | Ray <[email protected]> | 2023-04-10 11:02:00 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2023-04-10 11:02:00 +0200 |
| commit | 9aa71f04f2410319f7a8862a073bb9639939a4a3 (patch) | |
| tree | f2bb4bbe23ad89bd2fba38725661a06a160abb1a /src | |
| parent | 8f741d894ab350eec275df8eacf85636d38861f3 (diff) | |
| download | raylib-9aa71f04f2410319f7a8862a073bb9639939a4a3.tar.gz raylib-9aa71f04f2410319f7a8862a073bb9639939a4a3.zip | |
Avoid tracelog about not found uniforms #3003
Diffstat (limited to 'src')
| -rw-r--r-- | src/rlgl.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3923,8 +3923,8 @@ int rlGetLocationUniform(unsigned int shaderId, const char *uniformName) #if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2) location = glGetUniformLocation(shaderId, uniformName); - if (location == -1) TRACELOG(RL_LOG_WARNING, "SHADER: [ID %i] Failed to find shader uniform: %s", shaderId, uniformName); - else TRACELOG(RL_LOG_INFO, "SHADER: [ID %i] Shader uniform (%s) set at location: %i", shaderId, uniformName, location); + //if (location == -1) TRACELOG(RL_LOG_WARNING, "SHADER: [ID %i] Failed to find shader uniform: %s", shaderId, uniformName); + //else TRACELOG(RL_LOG_INFO, "SHADER: [ID %i] Shader uniform (%s) set at location: %i", shaderId, uniformName, location); #endif return location; } |
