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",