Skip to content

Instantly share code, notes, and snippets.

@poxip poxip/egl_attrs.vala Secret
Created Dec 23, 2014

Embed
What would you like to do?
egl_attrs : array of EGLint = {
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, // OpenGL ES 2.0
EGL_NATIVE_VISUAL_ID, visualid, // Use X11 VisualID
EGL_DEPTH_SIZE, 16, // Depth
EGL_STENCIL_SIZE, 1, // Stencil
EGL_NONE
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.