Text Editor: Add GLSL support language #116793

Closed
Gangneron wants to merge 68 commits from Gangneron/blender:Add_GLSL into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 63b918d7a1 - Show all commits

View File

@ -521,7 +521,7 @@ static void txtfmt_glsl_format_line(SpaceText *st, TextLine * line, const bool d
/* clang-format off */
/* Special vars(v) or built-in keywords(b) */
/* keep in sync with `txtfmt_osl_format_identifier()`. */
/* keep in sync with `txtfmt_glsl_format_identifier()`. */
if ((i = txtfmt_glsl_find_specialvar(str)) != -1) {prev = FMT_TYPE_SPECIAL;}
else if ((i = txtfmt_glsl_find_builtinfunc(str)) != -1) {prev = FMT_TYPE_KEYWORD;}