nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feea1e8
)
lib/egl: intro egl_default_display
author
Alexis Laferrière
<alexis.laf@xymus.net>
Sun, 19 Apr 2015 13:34:27 +0000
(09:34 -0400)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Sat, 12 Sep 2015 12:14:06 +0000
(08:14 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/egl.nit
patch
|
blob
|
history
diff --git
a/lib/egl.nit
b/lib/egl.nit
index
8934b7e
..
69df8e5
100644
(file)
--- a/
lib/egl.nit
+++ b/
lib/egl.nit
@@
-454,3
+454,6
@@
end
fun egl_bind_opengl_api: Bool `{ return eglBindAPI(EGL_OPENGL_API); `}
fun egl_bind_opengl_es_api: Bool `{ return eglBindAPI(EGL_OPENGL_ES_API); `}
fun egl_bind_openvg_api: Bool `{ return eglBindAPI(EGL_OPENVG_API); `}
+
+# Handle to the default display to use with EGL
+fun egl_default_display: Pointer `{ return EGL_DEFAULT_DISPLAY; `}