Bug 892467 - Draw cocoa titlebar using correct shader. r=mstange

This commit is contained in:
Matt Woodrow 2013-07-11 22:32:49 -04:00
parent a3c1d8b765
commit 46c6be7468

View File

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