From b19f8f1c9cfc351cc3aeea3f97a5f8640dd947e2 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 1 Apr 2021 13:59:26 +0300 Subject: [PATCH] Mark generated array types as internal --- source/glsl/generate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.45.2