diff --git a/src/osg/Uniform.cpp b/src/osg/Uniform.cpp index 92b12a1fe..ef5e12cc1 100644 --- a/src/osg/Uniform.cpp +++ b/src/osg/Uniform.cpp @@ -151,8 +151,8 @@ void Uniform::allocateDataArray() _int64Array = new Int64Array(arrayNumElements); return; - case GL_UINT64_ARB: - _uintArray = new UInt64Array(arrayNumElements); + case GL_UNSIGNED_INT64_ARB: + _uint64Array = new UInt64Array(arrayNumElements); return; default: