From: Brian Paul Date: Fri, 17 Dec 1999 17:00:32 +0000 (+0000) Subject: print thread safety info if MESA_INFO set X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=09cb14872e97384838b2442a328e1018fd5b2922;p=mesa.git print thread safety info if MESA_INFO set --- diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 66d319494a5..2858f203ad3 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1,4 +1,4 @@ -/* $Id: context.c,v 1.29 1999/12/17 14:52:35 brianp Exp $ */ +/* $Id: context.c,v 1.30 1999/12/17 17:00:32 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1630,6 +1630,11 @@ void gl_make_current2( GLcontext *newCtx, GLframebuffer *drawBuffer, fprintf(stderr, "Mesa GL_RENDERER = %s\n", (char *) _mesa_GetString(GL_RENDERER)); fprintf(stderr, "Mesa GL_VENDOR = %s\n", (char *) _mesa_GetString(GL_VENDOR)); fprintf(stderr, "Mesa GL_EXTENSIONS = %s\n", (char *) _mesa_GetString(GL_EXTENSIONS)); +#if defined(THREADS) + fprintf(stderr, "Mesa thread-safe: YES\n"); +#else + fprintf(stderr, "Mesa thread-safe: NO\n"); +#endif } newCtx->FirstTimeCurrent = GL_FALSE; }