projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc4ef91
)
drisw: Enable SGI_make_current_read for direct contexts
author
Adam Jackson
<ajax@redhat.com>
Tue, 1 Nov 2011 17:52:48 +0000
(13:52 -0400)
committer
Adam Jackson
<ajax@redhat.com>
Tue, 1 Nov 2011 17:52:48 +0000
(13:52 -0400)
Equivalent to glXMakeContextCurrent, which had better already work since
we advertise GLX 1.3.
Signed-off-by: Adam Jackson <ajax@redhat.com>
src/glx/drisw_glx.c
patch
|
blob
|
history
diff --git
a/src/glx/drisw_glx.c
b/src/glx/drisw_glx.c
index 21d0a0a9c8f1373b78bba8c35c4a321a3e44acb1..a150c618b18df0ac886fa06462425d9ef64d7b1e 100644
(file)
--- 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)) {