X-Git-Url: http://nitlanguage.org diff --git a/lib/egl.nit b/lib/egl.nit index 781c2a4..69df8e5 100644 --- a/lib/egl.nit +++ b/lib/egl.nit @@ -14,8 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -# EGL is an interface between the rendering APIs OpenGL, OpenGL ES, etc. -# and the native windowing system. +# Interface between rendering APIs (OpenGL, OpenGL ES, etc.) and the native windowing system. # # Most services of this module are a direct wrapper of the underlying # C library. If a method or class is not documented in Nit, refer to @@ -455,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; `}