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 ...
This commit is contained in:
George Sapountzis 2008-06-13 15:52:32 +03:00
parent 341987f688
commit 7ffb1230b3

View file

@ -695,7 +695,6 @@ static int driUnbindContext(__DRIcontext *ctx)
{
TRACE;
(void) ctx;
_mesa_make_current(NULL, NULL, NULL);
return GL_TRUE;
}