Bug 640082 followup - Fix typo that caused all black rendering with accelerated layers on X. r=bjacob
authorMatt Woodrow <mwoodrow@mozilla.com>
Tue, 12 Apr 2011 00:36:13 -0700
changeset 68003 48d6abe0a436
parent 68002 ce696f2e9cc9
child 68005 d03683062dcc
child 68008 e2ccb85ae5a0
push id19467
push userjdrew@mozilla.com
push dateTue, 12 Apr 2011 08:31:49 +0000
treeherdermozilla-central@48d6abe0a436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbjacob
bugs640082
milestone2.2a1pre
first release with
nightly win64
48d6abe0a436 / 4.2a1pre / 20110412030204 / files
nightly linux32
nightly linux64
nightly mac
nightly win32
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly win64
Bug 640082 followup - Fix typo that caused all black rendering with accelerated layers on X. r=bjacob
gfx/angle/src/compiler/compilerdebug.cpp
gfx/angle/src/compiler/compilerdebug.h
gfx/thebes/GLContextProviderGLX.cpp
--- a/gfx/thebes/GLContextProviderGLX.cpp
+++ b/gfx/thebes/GLContextProviderGLX.cpp
@@ -590,17 +590,17 @@ public:
         return true;
     }
 
     virtual void BindTexture(GLenum aTextureUnit)
     {
         mGLContext->fActiveTexture(aTextureUnit);
         mGLContext->fBindTexture(LOCAL_GL_TEXTURE_2D, Texture());
         sGLXLibrary.BindTexImage(mPixmap);
-        mGLContext->fActiveTexture(LOCAL_GL_TEXTURE);
+        mGLContext->fActiveTexture(LOCAL_GL_TEXTURE0);
     }
 
     virtual void ReleaseTexture()
     {
         sGLXLibrary.ReleaseTexImage(mPixmap);
     }
 
     virtual already_AddRefed<gfxASurface> GetBackingSurface()