bustage fix, bug Bug 686735, r=Callek
authorOlli Pettay <Olli.Pettay@helsinki.fi>
Thu, 12 Apr 2012 09:48:59 +0300
changeset 94702 8eb367e5b0531480085fe5c96c0cbae7ad4ada28
parent 94701 1711e06ca9f7b8cba7ecb27a48b9fd8ad1980a26
child 94703 adef80d2b5a0c80c0cc6bc48a072f201d13fbf48
push id886
push userlsblakk@mozilla.com
push dateMon, 04 Jun 2012 19:57:52 +0000
treeherdermozilla-beta@bbd8d5efd6d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersCallek
bugs686735
milestone14.0a1
first release with
nightly linux32
8eb367e5b053 / 14.0a1 / 20120412030726 / files
nightly linux64
8eb367e5b053 / 14.0a1 / 20120412030726 / files
nightly mac
8eb367e5b053 / 14.0a1 / 20120412030726 / files
nightly win32
8eb367e5b053 / 14.0a1 / 20120412030726 / files
nightly win64
8eb367e5b053 / 14.0a1 / 20120412030726 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bustage fix, bug Bug 686735, r=Callek
gfx/layers/opengl/LayerManagerOGL.cpp
--- a/gfx/layers/opengl/LayerManagerOGL.cpp
+++ b/gfx/layers/opengl/LayerManagerOGL.cpp
@@ -257,17 +257,17 @@ LayerManagerOGL::Initialize(nsRefPtr<GLC
 
     /**
     * We'll test the ability here to bind NPOT textures to a framebuffer, if
     * this fails we'll try ARB_texture_rectangle.
     */
 
     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;
 
     for (PRUint32 i = 0; i < ArrayLength(textureTargets); i++) {
       GLenum target = textureTargets[i];
       if (!target)
           continue;