egl: only windows are renderable at this time

This commit is contained in:
Brian Paul
2008-06-10 16:14:35 -06:00
parent b9c5b0bc4b
commit e9b6ed395a
+3
View File
@@ -183,6 +183,9 @@ create_configs(_EGLDisplay *disp)
SET_CONFIG_ATTRIB(&config->Base, EGL_STENCIL_SIZE, m->stencilBits);
SET_CONFIG_ATTRIB(&config->Base, EGL_NATIVE_VISUAL_ID, m->visualID);
SET_CONFIG_ATTRIB(&config->Base, EGL_NATIVE_VISUAL_TYPE, m->visualType);
/* XXX only window rendering allowed ATM */
SET_CONFIG_ATTRIB(&config->Base, EGL_SURFACE_TYPE, EGL_WINDOW_BIT);
/* XXX possibly other things to init... */
/* Ptr from EGL config to GLcontextMode. Used in CreateContext(). */