diff options
author | Chris Robinson <[email protected]> | 2012-08-13 08:53:36 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-08-13 09:07:01 -0700 |
commit | add53e28c2ad6909fe8ed3efdafc419c90023477 (patch) | |
tree | c4e0f19898b8cc65457fe2e966d42412b6eed7c3 /OpenAL32 | |
parent | f42f655ea91b50ed60916880271e320d398debe3 (diff) |
Check for some CPU extensions
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 296461c0..1f73ad72 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -762,6 +762,17 @@ extern enum LogLevel LogLevel; extern ALint RTPrioLevel; + +extern ALuint CPUCapFlags; +enum { + CPU_CAP_MMX = 1<<0, + CPU_CAP_SSE = 1<<1, + CPU_CAP_NEON = 1<<3, +}; + +void FillCPUCaps(void); + + /** * Starts a try block. Must not be nested within another try block within the * same function. |