[Mesa-dev] [Bug 42128] Crash when visiting a site with Firefox

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Apr 20 03:12:28 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=42128

--- Comment #20 from Brian Paul <brian.e.paul at gmail.com> 2012-04-20 10:12:28 UTC ---
On your 865G system, glx is saying that GL_ARB_depth_texture is not supported. 
That's why we're failing in _mesa_choose_tex_format().  Evidently, the driver
doesn't support depth textures for your older GPU.

Just out of curiosity, could you try this simple patch and see what happens?

--- a/src/mesa/main/texformat.c
+++ b/src/mesa/main/texformat.c
@@ -211,7 +211,7 @@ _mesa_choose_tex_format( struct gl_context *ctx, GLint
inter
          ; /* fallthrough */
    }

-   if (ctx->Extensions.ARB_depth_texture) {
+   if (1 || ctx->Extensions.ARB_depth_texture) {
       switch (internalFormat) {
          case GL_DEPTH_COMPONENT:
          case GL_DEPTH_COMPONENT24:

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list