зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1073039. Change uniform workaround to use raw gl. r=mstange
Bug 1073036 is changing the way we track shader state. Making this use raw gl instead of Activate() allows CompositorOGL to remain ignorant of it. --HG-- extra : rebase_source : ed7e98b35b3fb7c7ea902ee921e09f9cf620b245
This commit is contained in:
Родитель
e608cad934
Коммит
abf0ba5dbd
|
@ -1272,7 +1272,9 @@ CompositorOGL::DrawQuad(const Rect& aRect,
|
|||
// won't pick up the TexturePass2 uniform change below if we don't do
|
||||
// something to force it. Re-activating the shader seems to be one way
|
||||
// of achieving that.
|
||||
program->Activate();
|
||||
GLint program;
|
||||
mGLContext->fGetIntegerv(LOCAL_GL_CURRENT_PROGRAM, &program);
|
||||
mGLContext->fUseProgram(program);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче