mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2025-02-18 06:48:24 +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);
|
GL.GetProgram(program, GetProgramParameterName.ActiveAttributes, out activeAttributeCount);
|
||||||
for (int i = 0; i < activeAttributeCount; i++)
|
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);
|
int location = GL.GetAttribLocation(program, name);
|
||||||
|
|
||||||
// Overwrite existing vertex attributes.
|
// Overwrite existing vertex attributes.
|
||||||
|
|
Loading…
Add table
Reference in a new issue