From: Mikko Rasa Date: Thu, 1 Apr 2021 10:59:26 +0000 (+0300) Subject: Mark generated array types as internal X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=b19f8f1c9cfc351cc3aeea3f97a5f8640dd947e2;p=libs%2Fgl.git Mark generated array types as internal --- diff --git a/source/glsl/generate.cpp b/source/glsl/generate.cpp index d4623a7f..923468a1 100644 --- a/source/glsl/generate.cpp +++ b/source/glsl/generate.cpp @@ -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;