diff options
| author | Ray <[email protected]> | 2023-04-17 17:50:46 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2023-04-17 17:50:46 +0200 |
| commit | 771957458daa8b25c7f89c3ec29dd739075457e2 (patch) | |
| tree | 095d221af7b6584da1c3c00f796febf2b9cdae24 /src | |
| parent | 9d38363e09aa8725415b444cde37a909d4d9d8a0 (diff) | |
| download | raylib-771957458daa8b25c7f89c3ec29dd739075457e2.tar.gz raylib-771957458daa8b25c7f89c3ec29dd739075457e2.zip | |
Avoid shader attribute not found log
Diffstat (limited to 'src')
| -rw-r--r-- | src/rlgl.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3936,8 +3936,8 @@ int rlGetLocationAttrib(unsigned int shaderId, const char *attribName) #if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2) location = glGetAttribLocation(shaderId, attribName); - if (location == -1) TRACELOG(RL_LOG_WARNING, "SHADER: [ID %i] Failed to find shader attribute: %s", shaderId, attribName); - else TRACELOG(RL_LOG_INFO, "SHADER: [ID %i] Shader attribute (%s) set at location: %i", shaderId, attribName, location); + //if (location == -1) TRACELOG(RL_LOG_WARNING, "SHADER: [ID %i] Failed to find shader attribute: %s", shaderId, attribName); + //else TRACELOG(RL_LOG_INFO, "SHADER: [ID %i] Shader attribute (%s) set at location: %i", shaderId, attribName, location); #endif return location; } |
