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:
Rhys Weatherley
2010-12-01 12:30:07 +10:00
parent c552e26b2d
commit 814c9cc62e
5 changed files with 7 additions and 11 deletions

View File

@@ -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)