OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cbc465
)
mesa: call _mesa_get_cpu_features() during one-time-init
author
Brian Paul
<brianp@vmware.com>
Wed, 4 Mar 2009 23:43:07 +0000
(16:43 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 4 Mar 2009 23:43:39 +0000
(16:43 -0700)
src/mesa/main/context.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/context.c
b/src/mesa/main/context.c
index
97ee925
..
27fc26a
100644
(file)
--- 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++) {