mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 892467 - Draw cocoa titlebar using correct shader. r=mstange
This commit is contained in:
parent
a3c1d8b765
commit
46c6be7468
@ -2577,7 +2577,7 @@ RectTextureImage::Draw(GLManager* aManager,
|
||||
const nsIntPoint& aLocation,
|
||||
const gfx3DMatrix& aTransform)
|
||||
{
|
||||
ShaderProgramOGL* program = aManager->GetProgram(BGRARectLayerProgramType);
|
||||
ShaderProgramOGL* program = aManager->GetProgram(RGBARectLayerProgramType);
|
||||
|
||||
aManager->gl()->fBindTexture(LOCAL_GL_TEXTURE_RECTANGLE_ARB, mTexture);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user