diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/egl_common.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/egl_common.c b/examples/egl_common.c index 61671508..f095a487 100644 --- a/examples/egl_common.c +++ b/examples/egl_common.c @@ -20,10 +20,10 @@ PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; const EGLint config_attribs[] = { EGL_SURFACE_TYPE, EGL_WINDOW_BIT, - EGL_RED_SIZE, 1, - EGL_GREEN_SIZE, 1, - EGL_BLUE_SIZE, 1, - EGL_ALPHA_SIZE, 1, + EGL_RED_SIZE, 8, + EGL_GREEN_SIZE, 8, + EGL_BLUE_SIZE, 8, + EGL_ALPHA_SIZE, 8, EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, EGL_NONE, }; |