diff options
author | Brian Paul <[email protected]> | 1999-12-17 17:00:32 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 1999-12-17 17:00:32 +0000 |
commit | 09cb14872e97384838b2442a328e1018fd5b2922 (patch) | |
tree | 5a24c60928447a30ebe110c46ea47ab4228acb05 /src | |
parent | 26651d0519f42e420885ce909c4a1f55ba85525a (diff) |
print thread safety info if MESA_INFO set
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/context.c | 7 |
1 files changed, 6 insertions, 1 deletions
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; } |