projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
341987f
)
dri/swrast: make unbind a noop
author
George Sapountzis
<gsap7@yahoo.gr>
Fri, 13 Jun 2008 12:52:32 +0000
(15:52 +0300)
committer
George Sapountzis
<gsap7@yahoo.gr>
Fri, 13 Jun 2008 12:52:32 +0000
(15:52 +0300)
This is for loading swrast_dri.so from libGL.
MakeContextCurrent() seems to unbind the context right after binding it and
DRI drivers also have a noop DriverAPI.UnbindContext ...
src/mesa/drivers/dri/swrast/swrast.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/swrast/swrast.c
b/src/mesa/drivers/dri/swrast/swrast.c
index 282db7f86c6b09c7bca0018a6544b420ebe83dd3..304d07729e40ae5c75f054fd48d613cfb781bc86 100644
(file)
--- a/
src/mesa/drivers/dri/swrast/swrast.c
+++ b/
src/mesa/drivers/dri/swrast/swrast.c
@@
-695,7
+695,6
@@
static int driUnbindContext(__DRIcontext *ctx)
{
TRACE;
(void) ctx;
- _mesa_make_current(NULL, NULL, NULL);
return GL_TRUE;
}