forked from qt-creator/qt-creator
Replace the "Qt" GLSL variant with "ES_100"
The Qt variant is almost exactly the same as GLSL/ES, so there is little point having a separate variant code.
This commit is contained in:
@@ -405,7 +405,7 @@ int GLSLTextEditor::languageVariant() const
|
||||
if (isDesktop)
|
||||
variant |= Lexer::Variant_GLSL_120;
|
||||
else
|
||||
variant |= Lexer::Variant_GLSL_Qt;
|
||||
variant |= Lexer::Variant_GLSL_ES_100;
|
||||
if (isVertex)
|
||||
variant |= Lexer::Variant_VertexShader;
|
||||
if (isFragment)
|
||||
|
||||
Reference in New Issue
Block a user