Fix build errors hopefully

This commit is contained in:
KillzXGaming 2019-09-28 17:33:44 -04:00
parent 644d94090f
commit 57fb51e729

View file

@ -127,7 +127,10 @@ namespace LayoutBXLYT
GL.GetProgram(program, GetProgramParameterName.ActiveAttributes, out activeAttributeCount);
for (int i = 0; i < activeAttributeCount; i++)
{
string name = GL.GetActiveAttrib(program, i, out int size, out ActiveAttribType type);
int size = 0;
ActiveAttribType type;
string name = GL.GetActiveAttrib(program, i, out size, out type);
int location = GL.GetAttribLocation(program, name);
// Overwrite existing vertex attributes.