From 7ffb1230b3287a72d9ac59c5d830f7a4155cbdf9 Mon Sep 17 00:00:00 2001 From: George Sapountzis Date: Fri, 13 Jun 2008 15:52:32 +0300 Subject: 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 ... --- src/mesa/drivers/dri/swrast/swrast.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/mesa') 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; } -- cgit v1.2.3