mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
print thread safety info if MESA_INFO set
This commit is contained in:
parent
26651d0519
commit
09cb14872e
1 changed files with 6 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue