diff options
Diffstat (limited to 'src/glx/drisw_glx.c')
-rw-r--r-- | src/glx/drisw_glx.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c index cb7f79cd1da..2d83a50352b 100644 --- a/src/glx/drisw_glx.c +++ b/src/glx/drisw_glx.c @@ -598,6 +598,11 @@ driswBindExtensions(struct drisw_screen *psc, const __DRIextension **extensions) if (psc->swrast->base.version >= 3) { __glXEnableDirectExtension(&psc->base, "GLX_ARB_create_context"); __glXEnableDirectExtension(&psc->base, "GLX_ARB_create_context_profile"); + + /* DRISW version >= 2 implies support for OpenGL ES 2.0. + */ + __glXEnableDirectExtension(&psc->base, + "GLX_EXT_create_context_es2_profile"); } /* FIXME: Figure out what other extensions can be ported here from dri2. */ |