diff --git a/src/osg/Uniform.cpp b/src/osg/Uniform.cpp index cffaf4f38..31f1de68f 100644 --- a/src/osg/Uniform.cpp +++ b/src/osg/Uniform.cpp @@ -285,8 +285,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: