desktop gl
This commit is contained in:
parent
75f2150d96
commit
6093413aa5
1 changed files with 3 additions and 0 deletions
|
|
@ -124,6 +124,9 @@ static void egl_init(struct client_state *state) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Desktop GL?
|
||||||
|
eglBindAPI(EGL_OPENGL_API);
|
||||||
|
|
||||||
state->egl_context =
|
state->egl_context =
|
||||||
eglCreateContext(state->egl_display,
|
eglCreateContext(state->egl_display,
|
||||||
state->egl_config,
|
state->egl_config,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue