Browse Source

Platform: properly request a depth buffer on Android.

pull/246/head
Vladimír Vondruš 8 years ago
parent
commit
d398c63182
  1. 1
      src/Magnum/Platform/AndroidApplication.cpp

1
src/Magnum/Platform/AndroidApplication.cpp

@ -115,6 +115,7 @@ bool AndroidApplication::tryCreate(const Configuration& configuration, const GLC
EGL_BLUE_SIZE, 8,
EGL_GREEN_SIZE, 8,
EGL_RED_SIZE, 8,
EGL_DEPTH_SIZE, 24,
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
EGL_NONE
};

Loading…
Cancel
Save