mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Removes custom vertex attribute locations for GLSL. Refs ce215cace3.
This was SVN commit r26630.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user