mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-26 14:30:26 +00:00
Fix build errors hopefully
This commit is contained in:
parent
644d94090f
commit
57fb51e729
1 changed files with 4 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue