Change the default shader in SceneOpenGL2
Push a shader that just does texture lookups. This shader is the one most likely to be used.
This commit is contained in:
parent
4394219cd6
commit
99f9d613e9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue