diff options
author | Chia-I Wu <[email protected]> | 2010-01-02 21:51:46 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-01-12 10:55:35 +0800 |
commit | 033bd95802448bc82fd6f2ebc722ff1306b578ec (patch) | |
tree | dc83bc08bc3e7d95c87983db726d955a932a3ea2 /progs/egl/xeglthreads.c | |
parent | 2d44b6f8848ee2c43a92c5a00ec9981b82319ed8 (diff) |
progs: Add missing EGL_RENDERABLE_TYPE for EGL demos.
The default value of EGL_RENDERABLE_TYPE is EGL_OPENGL_ES_BIT. The
proper values should be specified if we are not using OpenGL ES.
Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'progs/egl/xeglthreads.c')
-rw-r--r-- | progs/egl/xeglthreads.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/egl/xeglthreads.c b/progs/egl/xeglthreads.c index 508dbc09432..7d056ebc6f7 100644 --- a/progs/egl/xeglthreads.c +++ b/progs/egl/xeglthreads.c @@ -467,6 +467,7 @@ create_window(struct winthread *wt, EGLContext shareCtx) EGL_GREEN_SIZE, 1, EGL_BLUE_SIZE, 1, EGL_DEPTH_SIZE, 1, + EGL_RENDERABLE_TYPE, EGL_OPENGL_BIT, EGL_NONE }; EGLConfig config; EGLint num_configs; |