Bug 1193977 - Bind the texture unit we want to use when compositing the OSX titlebar. r=jrmuizel

This commit is contained in:
Matt Woodrow 2015-08-13 15:59:57 -04:00
parent 72e07df2de
commit 25534f83f5

View File

@ -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);