Bug 1240867 - Fix non-unified build bustage in OGLShaderProgram.cpp. r=nical

--HG--
extra : commitid : JLxb9CDZYAQ
This commit is contained in:
Kartikaya Gupta 2016-01-20 09:58:17 -05:00
Родитель 0ced379792
Коммит 47aea009f5
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -8,6 +8,7 @@
#include "gfxEnv.h"
#include "gfxRect.h" // for gfxRect
#include "mozilla/DebugOnly.h" // for DebugOnly
#include "mozilla/layers/Compositor.h" // for BlendOpIsMixBlendMode
#include "nsAString.h"
#include "nsAutoPtr.h" // for nsRefPtr
#include "nsString.h" // for nsAutoCString
@ -162,7 +163,7 @@ ShaderConfigOGL::SetDEAA(bool aEnabled)
}
void
ShaderConfigOGL::SetCompositionOp(CompositionOp aOp)
ShaderConfigOGL::SetCompositionOp(gfx::CompositionOp aOp)
{
mCompositionOp = aOp;
}
@ -175,7 +176,7 @@ ProgramProfileOGL::GetProfileFor(ShaderConfigOGL aConfig)
AddUniforms(result);
CompositionOp blendOp = aConfig.mCompositionOp;
gfx::CompositionOp blendOp = aConfig.mCompositionOp;
vs << "#ifdef GL_ES" << endl;
vs << "#define EDGE_PRECISION mediump" << endl;