bustage fix, bug Bug 686735, r=Callek

This commit is contained in:
Olli Pettay 2012-04-12 09:48:59 +03:00
parent 400350bbd0
commit ac15f0c7c1

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;