Change the default shader in SceneOpenGL2

Push a shader that just does texture lookups. This shader is the one
most likely to be used.
icc-effect-5.14.5
Fredrik Höglund 2014-04-01 18:10:02 +02:00
parent 4394219cd6
commit 99f9d613e9
1 changed files with 1 additions and 1 deletions

View File

@ -927,7 +927,7 @@ SceneOpenGL2::SceneOpenGL2(OpenGLBackend *backend)
}
// push one shader on the stack so that one is always bound
ShaderManager::instance()->pushShader(ShaderManager::SimpleShader);
ShaderManager::instance()->pushShader(ShaderTrait::MapTexture);
if (checkGLError("Init")) {
qCritical() << "OpenGL 2 compositing setup failed";
init_ok = false;