From: Adam Jackson Date: Tue, 1 Nov 2011 17:52:48 +0000 (-0400) Subject: drisw: Enable SGI_make_current_read for direct contexts X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6d3d0ca9e9ef0d0a1e3ba0940f7127298e078a7d;p=mesa.git drisw: Enable SGI_make_current_read for direct contexts Equivalent to glXMakeContextCurrent, which had better already work since we advertise GLX 1.3. Signed-off-by: Adam Jackson --- diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c index 21d0a0a9c8f..a150c618b18 100644 --- a/src/glx/drisw_glx.c +++ b/src/glx/drisw_glx.c @@ -506,6 +506,8 @@ driswBindExtensions(struct drisw_screen *psc, const __DRIextension **extensions) { int i; + __glXEnableDirectExtension(&psc->base, "GLX_SGI_make_current_read"); + /* FIXME: Figure out what other extensions can be ported here from dri2. */ for (i = 0; extensions[i]; i++) { if ((strcmp(extensions[i]->name, __DRI_TEX_BUFFER) == 0)) {