diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-06-04 00:13:54 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-06-04 00:13:54 (GMT) |
commit | 7010a53cbd6bc6d9cc6d63e2170a7300ce2750d8 (patch) | |
tree | 323233749dd13a97bb01272d32e3cee1f4f57d44 /src/opengl/gl2paintengineex | |
parent | 55148bf3c47546a93222c3e48a3e1bad062b5640 (diff) | |
download | Qt-7010a53cbd6bc6d9cc6d63e2170a7300ce2750d8.zip Qt-7010a53cbd6bc6d9cc6d63e2170a7300ce2750d8.tar.gz Qt-7010a53cbd6bc6d9cc6d63e2170a7300ce2750d8.tar.bz2 |
Improvements to shader API in response to API review
Task-number: QT-80
Reviewed-by: Ian Walters
Diffstat (limited to 'src/opengl/gl2paintengineex')
-rw-r--r-- | src/opengl/gl2paintengineex/qglengineshadermanager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/opengl/gl2paintengineex/qglengineshadermanager.cpp b/src/opengl/gl2paintengineex/qglengineshadermanager.cpp index 3159cbb..ea57fdf 100644 --- a/src/opengl/gl2paintengineex/qglengineshadermanager.cpp +++ b/src/opengl/gl2paintengineex/qglengineshadermanager.cpp @@ -481,8 +481,7 @@ void QGLEngineShaderManager::compileNamedShader(QGLEngineShaderManager::ShaderNa return; QGLShader *newShader = new QGLShader(type, ctx, this); - newShader->setSourceCode(qglEngineShaderSourceCode[name]); - // newShader->compile(); ### does not exist? + newShader->compile(qglEngineShaderSourceCode[name]); #if defined(QT_DEBUG) // Name the shader for easier debugging |