summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/x86/common_x86.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/x86/common_x86.c b/src/mesa/x86/common_x86.c
index b5dc202c3e1..ed258369299 100644
--- a/src/mesa/x86/common_x86.c
+++ b/src/mesa/x86/common_x86.c
@@ -55,7 +55,7 @@ void gl_init_all_x86_asm (void)
if (s == NULL) {
fprintf (stderr, "MMX cpu detected.\n");
} else {
- gl_x86_cpu_features &= (!GL_CPU_MMX);
+ gl_x86_cpu_features &= (~GL_CPU_MMX);
}
}
#endif
@@ -68,7 +68,7 @@ void gl_init_all_x86_asm (void)
fprintf (stderr, "3Dnow cpu detected.\n");
gl_init_3dnow_asm_transforms ();
} else {
- gl_x86_cpu_features &= (!GL_CPU_3Dnow);
+ gl_x86_cpu_features &= (~GL_CPU_3Dnow);
}
}
#endif