From 7979c6024ca81257164d3560a0366c1c52529b0e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 4 Mar 2009 16:43:07 -0700 Subject: [PATCH] mesa: call _mesa_get_cpu_features() during one-time-init --- src/mesa/main/context.c | 3 +++ 1 file changed, 3 insertions(+) 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++) { -- 2.30.2