From 84cac8441fcf5f692cd220e9fa86cab398a4c159 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 29 May 2001 23:15:07 +0000 Subject: more DRI libGL-related changes --- src/mesa/drivers/x11/fakeglx.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/mesa/drivers/x11/fakeglx.c') diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c index 31aa873aa6..539ee838c3 100644 --- a/src/mesa/drivers/x11/fakeglx.c +++ b/src/mesa/drivers/x11/fakeglx.c @@ -1,4 +1,4 @@ -/* $Id: fakeglx.c,v 1.52 2001/05/25 21:51:02 brianp Exp $ */ +/* $Id: fakeglx.c,v 1.53 2001/05/29 23:15:07 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1234,7 +1234,8 @@ Fake_glXMakeContextCurrent( Display *dpy, GLXDrawable draw, ((__GLXcontext *) ctx)->currentDpy = dpy; ((__GLXcontext *) ctx)->currentDrawable = draw; ((__GLXcontext *) ctx)->currentReadable = read; -#ifdef GLX_BUILD_IN_XLIB_MESA +#ifdef GLX_BUILT_IN_XMESA + printf("Set fake context ctx %p\n", ctx); __glXSetCurrentContext(ctx); #endif return True; @@ -1251,7 +1252,7 @@ Fake_glXMakeContextCurrent( Display *dpy, GLXDrawable draw, MakeCurrent_PrevReadable = 0; MakeCurrent_PrevDrawBuffer = 0; MakeCurrent_PrevReadBuffer = 0; -#ifdef GLX_BUILD_IN_XLIB_MESA +#ifdef GLX_BUILT_IN_XMESA /* XXX bind dummy context with __glXSetCurrentContext(ctx); */ #endif return True; -- cgit v1.2.3