]> git.tdb.fi Git - libs/gl.git/commitdiff
Mark generated array types as internal
authorMikko Rasa <tdb@tdb.fi>
Thu, 1 Apr 2021 10:59:26 +0000 (13:59 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 1 Apr 2021 19:29:06 +0000 (22:29 +0300)
source/glsl/generate.cpp

index d4623a7fd85064acf8eb0860c9e9dae149e2798c..923468a1d59ec905b45cba4a4dd4e88dc2b36636 100644 (file)
@@ -94,7 +94,7 @@ TypeDeclaration *TypeResolver::get_or_create_array_type(TypeDeclaration &type)
                return i->second;
 
        BasicTypeDeclaration *array = new BasicTypeDeclaration;
-       array->source = BUILTIN_SOURCE;
+       array->source = INTERNAL_SOURCE;
        array->name = type.name+"[]";
        array->kind = BasicTypeDeclaration::ARRAY;
        array->base = type.name;