Fix previous commit oopsies

This commit is contained in:
Lynix
2017-10-14 18:27:37 +02:00
parent 683b09144d
commit 46cf06f446
3 changed files with 17 additions and 17 deletions

View File

@@ -1762,7 +1762,7 @@ namespace Nz
glGetProgramiv(program, GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxLength);
maxLength++;
StackAllocation<GLchar> nameBuffer = NazaraStackAllocation(GLchar, maxLength + 1);
StackArray<GLchar> nameBuffer = NazaraStackAllocation(GLchar, maxLength + 1);
for (GLint i = 0; i < count; i++)
{
GLint size;