diff options
Diffstat (limited to 'progs/egl/egltri.c')
-rw-r--r-- | progs/egl/egltri.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/egl/egltri.c b/progs/egl/egltri.c index 9bbc3cddaf1..006e06eb03e 100644 --- a/progs/egl/egltri.c +++ b/progs/egl/egltri.c @@ -208,6 +208,7 @@ int main(int argc, char *argv[]) } printf("egltri: Using screen mode/size %d: %d x %d\n", chosenMode, width, height); + eglBindAPI(EGL_OPENGL_API); ctx = eglCreateContext(d, configs[0], EGL_NO_CONTEXT, NULL); if (ctx == EGL_NO_CONTEXT) { printf("egltri: failed to create context\n"); |