From: George Sapountzis Date: Fri, 13 Jun 2008 12:52:32 +0000 (+0300) Subject: dri/swrast: make unbind a noop X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7ffb1230b3287a72d9ac59c5d830f7a4155cbdf9;p=mesa.git 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 ... --- 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; }