- EGLint format;
- EGLint numConfigs;
- EGLConfig config;
- EGLContext context;
-
- EGLDisplay eglDisplay = fgDisplay.pDisplay.eglDisplay;
-
- /* TODO : apply DisplayMode */
- /* (GLUT_DEPTH already applied in attribs[] above) */
-
- /* Here, the application chooses the configuration it desires. In this
- * sample, we have a very simplified selection process, where we pick
- * the first EGLConfig that matches our criteria */
- eglChooseConfig(eglDisplay, attribs, &config, 1, &numConfigs);