diff options
author | George Sapountzis <[email protected]> | 2008-06-13 15:52:32 +0300 |
---|---|---|
committer | George Sapountzis <[email protected]> | 2008-06-13 15:52:32 +0300 |
commit | 7ffb1230b3287a72d9ac59c5d830f7a4155cbdf9 (patch) | |
tree | c47532d3a97a652edd05746d58558f45111862cc /src | |
parent | 341987f68842d662168aa6386723ef9ac8080a93 (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')
-rw-r--r-- | src/mesa/drivers/dri/swrast/swrast.c | 1 |
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; } |