This website works better with JavaScript.
Home
Help
Sign In
lolengine
/
lol
mirror of
https://github.com/lolengine/lol
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
gpu: don't forget to ask for a depth buffer on GL ES systems.
legacy
Sam Hocevar
sam
12 years ago
parent
f80753b168
commit
803d140502
1 changed files
with
6 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-2
src/eglapp.cpp
+ 6
- 2
src/eglapp.cpp
View File
@@ -113,9 +113,13 @@ EglApp::EglApp(char const *title, ivec2 res, float fps) :
EGLint attr[] =
{
EGL_BUFFER_SIZE, 16,
EGL_RENDERABLE_TYPE,
EGL_DEPTH_SIZE, 16,
EGL_RED_SIZE, 4,
EGL_GREEN_SIZE, 4,
EGL_BLUE_SIZE, 4,
EGL_ALPHA_SIZE, 4,
#if defined HAVE_GLES_2X
EGL_OPENGL_ES2_BIT,
EGL_
RENDERABLE_TYPE, EGL_
OPENGL_ES2_BIT,
#endif
EGL_NONE
};
Write
Preview
Loading…
Cancel
Save