EvasGL: some depth_stencil lines didn't get in there the
authorsung <sung@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 14 Jun 2012 08:05:30 +0000 (08:05 +0000)
committersung <sung@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 14 Jun 2012 08:05:30 +0000 (08:05 +0000)
first time. Merging the rest of the code and submitting.
My fault.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@72110 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/engines/gl_x11/evas_engine.c

index 860d615..0f4ed97 100644 (file)
@@ -3143,6 +3143,13 @@ _set_internal_config(Render_Engine *re, Render_Engine_GL_Surface *sfc, Evas_GL_C
               cfg->depth_bits   = EVAS_GL_DEPTH_BIT_24;
               break;
            }
+         else if (re->gl_cap.depth_24_stencil_8[0])
+           {
+              sfc->rb_depth_stencil_fmt = re->gl_cap.depth_24_stencil_8[0];
+              sfc->rb_depth_fmt         = re->gl_cap.depth_24_stencil_8[0];
+              cfg->depth_bits           = EVAS_GL_DEPTH_BIT_24;
+              break;
+           }
       case EVAS_GL_DEPTH_BIT_32:
          if (re->gl_cap.depth_32[0])
            {