summaryrefslogtreecommitdiff
path: root/src/libs/glsl/glslsemantic.cpp
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2010-12-02 11:30:46 +1000
committerRhys Weatherley <rhys.weatherley@nokia.com>2010-12-02 11:30:46 +1000
commita0c1b00992a8ac7659184f2e58484242ec025f5a (patch)
tree38b9ef6c1e4ecf90f581659e9fe9c04351c8be2a /src/libs/glsl/glslsemantic.cpp
parentc598118d5b970c7dc229e5a6a21d5beb880bcad1 (diff)
downloadqt-creator-a0c1b00992a8ac7659184f2e58484242ec025f5a.tar.gz
Shader vars now prefixed with "qt_", not "qgl_".
Diffstat (limited to 'src/libs/glsl/glslsemantic.cpp')
-rw-r--r--src/libs/glsl/glslsemantic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/glsl/glslsemantic.cpp b/src/libs/glsl/glslsemantic.cpp
index ac07911ea5..3593704c6d 100644
--- a/src/libs/glsl/glslsemantic.cpp
+++ b/src/libs/glsl/glslsemantic.cpp
@@ -187,7 +187,7 @@ bool Semantic::visit(IdentifierExpressionAST *ast)
if (Symbol *s = _scope->lookup(*ast->name)) {
_expr.type = s->type();
} else {
- if (ast->name->startsWith(QLatin1String("qgl_"))) {
+ if (ast->name->startsWith(QLatin1String("qt_"))) {
// ### well, at least for now.
} else {
_engine->error(ast->lineno, QString("`%1' was not declared in this scope").arg(*ast->name));