From 98df26e8ba70eb1f80ef24a4cb86cb10c69955c9 Mon Sep 17 00:00:00 2001 From: apistol78 Date: Thu, 7 Mar 2024 11:20:55 +0100 Subject: [PATCH] Traktor: Added missing texture... type names to GLSL syntax highlighter. --- code/Ui/SyntaxRichEdit/SyntaxLanguageGlsl.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/Ui/SyntaxRichEdit/SyntaxLanguageGlsl.cpp b/code/Ui/SyntaxRichEdit/SyntaxLanguageGlsl.cpp index c046596c7e..9611c572fa 100644 --- a/code/Ui/SyntaxRichEdit/SyntaxLanguageGlsl.cpp +++ b/code/Ui/SyntaxRichEdit/SyntaxLanguageGlsl.cpp @@ -235,7 +235,6 @@ const wchar_t* c_glslTypes[] = L"isampler2DArray", L"usampler1DArray", L"usampler2DArray", - L"samplerCube", L"sampler1DArray", L"sampler2DArray", L"isampler2DRect", @@ -246,6 +245,8 @@ const wchar_t* c_glslTypes[] = L"samplerBuffer", L"isamplerCube", L"usamplerCube", + L"samplerCube", + L"textureCube", L"isampler1D", L"isampler2D", L"isampler3D", @@ -255,6 +256,8 @@ const wchar_t* c_glslTypes[] = L"sampler1D", L"sampler2D", L"sampler3D", + L"texture2D", + L"texture3D", L"sampler", L"mat2x2", L"mat2x3",