diff options
Diffstat (limited to 'progs/egl/demo1.c')
-rw-r--r-- | progs/egl/demo1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/egl/demo1.c b/progs/egl/demo1.c index 34a516e72fc..d892734ee55 100644 --- a/progs/egl/demo1.c +++ b/progs/egl/demo1.c @@ -114,6 +114,7 @@ main(int argc, char *argv[]) PrintConfigs(d, configs, numConfigs); + eglBindAPI(EGL_OPENGL_API); ctx = eglCreateContext(d, configs[0], EGL_NO_CONTEXT, NULL); if (ctx == EGL_NO_CONTEXT) { printf("failed to create context\n"); |