summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2023-04-17 17:50:46 +0200
committerRay <[email protected]>2023-04-17 17:50:46 +0200
commit771957458daa8b25c7f89c3ec29dd739075457e2 (patch)
tree095d221af7b6584da1c3c00f796febf2b9cdae24 /src
parent9d38363e09aa8725415b444cde37a909d4d9d8a0 (diff)
downloadraylib-771957458daa8b25c7f89c3ec29dd739075457e2.tar.gz
raylib-771957458daa8b25c7f89c3ec29dd739075457e2.zip
Avoid shader attribute not found log
Diffstat (limited to 'src')
-rw-r--r--src/rlgl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 937535a5..e786fa38 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -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;
}