summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-03-04 16:43:07 -0700
committerBrian Paul <[email protected]>2009-03-04 16:43:39 -0700
commit7979c6024ca81257164d3560a0366c1c52529b0e (patch)
treee8105e38c2c9965f9b2c98b0cf0267787602fab1 /src/mesa/main
parent2cbc4655a892e5924e51a4c59696c776bcf60716 (diff)
mesa: call _mesa_get_cpu_features() during one-time-init
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/context.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 97ee925c0bb..27fc26a2a42 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -94,6 +94,7 @@
#include "colortab.h"
#endif
#include "context.h"
+#include "cpuinfo.h"
#include "debug.h"
#include "depth.h"
#if FEATURE_dlist
@@ -414,6 +415,8 @@ one_time_init( GLcontext *ctx )
assert( sizeof(GLint) == 4 );
assert( sizeof(GLuint) == 4 );
+ _mesa_get_cpu_features();
+
_mesa_init_sqrt_table();
for (i = 0; i < 256; i++) {