PIPE_FLUSH_RENDER_CACHE | PIPE_FLUSH_FRAME, NULL);
}
- /* XXX change to EGL_OPENGL_ES_API once OpenGL ES is merged */
- gctx = egl_g3d_get_current_context(EGL_OPENGL_API);
+ gctx = egl_g3d_get_current_context(EGL_OPENGL_ES_API);
if (gctx) {
if (!gsurf->render_surface)
return EGL_FALSE;
if (gsurf->render_surface) {
_EGLThreadInfo *t = _eglGetCurrentThread();
- /* XXX change to EGL_OPENGL_ES_API once OpenGL ES is merged */
struct egl_g3d_context *gctx = egl_g3d_context(
- t->CurrentContexts[_eglConvertApiToIndex(EGL_OPENGL_API)]);
+ t->CurrentContexts[_eglConvertApiToIndex(EGL_OPENGL_ES_API)]);
/* what if the context the surface binds to is no longer current? */
if (gctx)