Commit 6587e3fd authored by Sam Lantinga's avatar Sam Lantinga

Check for CPUID before checking for 3DNow!

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40748
parent 15fabb63
......@@ -136,6 +136,9 @@ static __inline__ int CPU_haveMMX()
static __inline__ int CPU_have3DNow()
{
int has_3DNow = 0;
if ( !CPU_haveCPUID() ) {
return 0;
}
#if defined(__GNUC__) && defined(i386)
__asm__ (
"push %%ebx\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment