Changeset 1674


Ignore:
Timestamp:
Jul 27, 2012, 6:53:49 PM (8 years ago)
Author:
sam
Message:

gpu: don't forget to ask for a depth buffer on GL ES systems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/eglapp.cpp

    r1673 r1674  
    114114    {
    115115        EGL_BUFFER_SIZE, 16,
    116         EGL_RENDERABLE_TYPE,
     116        EGL_DEPTH_SIZE, 16,
     117        EGL_RED_SIZE, 4,
     118        EGL_GREEN_SIZE, 4,
     119        EGL_BLUE_SIZE, 4,
     120        EGL_ALPHA_SIZE, 4,
    117121#if defined HAVE_GLES_2X
    118         EGL_OPENGL_ES2_BIT,
     122        EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
    119123#endif
    120124        EGL_NONE
Note: See TracChangeset for help on using the changeset viewer.