mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Bug 1193977 - Bind the texture unit we want to use when compositing the OSX titlebar. r=jrmuizel
This commit is contained in:
parent
72e07df2de
commit
25534f83f5
@ -2798,6 +2798,7 @@ RectTextureImage::Draw(GLManager* aManager,
|
||||
ShaderProgramOGL* program = aManager->GetProgram(LOCAL_GL_TEXTURE_RECTANGLE_ARB,
|
||||
gfx::SurfaceFormat::R8G8B8A8);
|
||||
|
||||
aManager->gl()->fActiveTexture(LOCAL_GL_TEXTURE0);
|
||||
aManager->gl()->fBindTexture(LOCAL_GL_TEXTURE_RECTANGLE_ARB, mTexture);
|
||||
|
||||
aManager->ActivateProgram(program);
|
||||
|
Loading…
Reference in New Issue
Block a user