diff --git a/src/webgl.cc b/src/webgl.cc index 9e3fe62b..2afff86b 100644 --- a/src/webgl.cc +++ b/src/webgl.cc @@ -1930,8 +1930,7 @@ GL_METHOD(GetUniform) { GLuint program = args[0]->Int32Value(); GLint location = args[1]->Int32Value(); - float data[16]; // worst case scenario is 16 floats - + float data[1024]; glGetUniformfv(program, location, data); v8::Local arr=NanNew(16);