Removes custom vertex attribute locations for GLSL. Refs ce215cace3.

This was SVN commit r26630.
This commit is contained in:
vladislavbelov
2022-03-12 23:25:23 +00:00
parent 992c18aabb
commit e89e55539e
10 changed files with 16 additions and 25 deletions
-6
View File
@@ -102,12 +102,6 @@ GLenum ParseAttribSemantics(const CStr& str)
if (str == "gl_MultiTexCoord6") return 14;
if (str == "gl_MultiTexCoord7") return 15;
// Define some arbitrary names for user-defined attribute locations
// that won't conflict with any standard semantics
if (str == "CustomAttribute0") return 1;
if (str == "CustomAttribute1") return 6;
if (str == "CustomAttribute2") return 7;
debug_warn("Invalid attribute semantics");
return 0;
}