mesa/main: use call_once instead of open-coding
[mesa.git] / src / mesa / math / m_debug_clip.c
index cd8a90d4d567a2711b2d5f1bb8379383c3816adc..afbe09bb7a7d00a432a1aebdabdd856f07e199b9 100644 (file)
@@ -28,7 +28,7 @@
 #include "main/glheader.h"
 #include "main/context.h"
 #include "main/macros.h"
-#include "main/imports.h"
+
 
 #include "m_matrix.h"
 #include "m_xform.h"
@@ -355,7 +355,7 @@ void _math_test_all_cliptest_functions( char *description )
 
    if ( first_time ) {
       first_time = 0;
-      mesa_profile = _mesa_getenv( "MESA_PROFILE" );
+      mesa_profile = getenv( "MESA_PROFILE" );
    }
 
 #ifdef RUN_DEBUG_BENCHMARK