summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/swrast
diff options
context:
space:
mode:
authorGeorge Sapountzis <[email protected]>2008-06-13 15:52:32 +0300
committerGeorge Sapountzis <[email protected]>2008-06-13 15:52:32 +0300
commit7ffb1230b3287a72d9ac59c5d830f7a4155cbdf9 (patch)
treec47532d3a97a652edd05746d58558f45111862cc /src/mesa/drivers/dri/swrast
parent341987f68842d662168aa6386723ef9ac8080a93 (diff)
dri/swrast: make unbind a noop
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 ...
Diffstat (limited to 'src/mesa/drivers/dri/swrast')
-rw-r--r--src/mesa/drivers/dri/swrast/swrast.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c
index 282db7f86c6..304d07729e4 100644
--- 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;
}