added X86-optimized message for MESA_INFO
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 17 Jan 2000 20:00:15 +0000 (20:00 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 17 Jan 2000 20:00:15 +0000 (20:00 +0000)
src/mesa/main/context.c

index 2b2e887..5645026 100644 (file)
@@ -1,10 +1,10 @@
-/* $Id: context.c,v 1.31 2000/01/14 04:45:47 brianp Exp $ */
+/* $Id: context.c,v 1.32 2000/01/17 20:00:15 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
  * Version:  3.3
  *
- * Copyright (C) 1999  Brian Paul   All Rights Reserved.
+ * Copyright (C) 1999-2000  Brian Paul   All Rights Reserved.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -1668,6 +1668,11 @@ void gl_make_current2( GLcontext *newCtx, GLframebuffer *drawBuffer,
 #else
          fprintf(stderr, "Mesa thread-safe: NO\n");
 #endif
+#if defined(USE_X86_ASM)
+         fprintf(stderr, "Mesa x86-optimized: YES\n");
+#else
+         fprintf(stderr, "Mesa x86-optimized: NO\n");
+#endif
       }
       newCtx->FirstTimeCurrent = GL_FALSE;
    }