bustage fix, bug Bug 686735, r=Callek

This commit is contained in:
Olli Pettay 2012-04-12 09:48:59 +03:00
parent 9d66d1498f
commit b4b4f3bc03

View File

@ -262,7 +262,7 @@ LayerManagerOGL::Initialize(nsRefPtr<GLContext> aContext, bool force)
GLenum textureTargets[] = {
LOCAL_GL_TEXTURE_2D,
mGLContext->IsGLES2() ? LOCAL_GL_TEXTURE_RECTANGLE_ARB : 0
mGLContext->IsGLES2() ? LOCAL_GL_TEXTURE_RECTANGLE_ARB : GLenum(0)
};
mFBOTextureTarget = LOCAL_GL_NONE;