summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2011-11-01 13:52:48 -0400
committerAdam Jackson <[email protected]>2011-11-01 13:52:48 -0400
commit6d3d0ca9e9ef0d0a1e3ba0940f7127298e078a7d (patch)
tree824db8efe59cec5466f82396811dba46b6499c64
parentdc4ef916016dc4237551bad132325c71f4eb28e2 (diff)
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 <[email protected]>
-rw-r--r--src/glx/drisw_glx.c2
1 files changed, 2 insertions, 0 deletions
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)) {