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 be6f6eea10
commit cf4c3b2638

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