diff options
author | Chris Robinson <[email protected]> | 2012-09-16 01:35:16 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-09-16 01:35:16 -0700 |
commit | 657ee85136861c9da105a67050ae84a85ecfe808 (patch) | |
tree | 09c60903ae761af302703315761355513c1c168c /OpenAL32/Include | |
parent | 965306b296d6599d8562c713c18a01b8766eafee (diff) |
Use a struct to store the FPU mode
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index af71a615..fd372326 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -778,8 +778,11 @@ void *al_malloc(size_t alignment, size_t size); void *al_calloc(size_t alignment, size_t size); void al_free(void *ptr); -int SetMixerFPUMode(void); -void RestoreFPUMode(int state); +typedef struct { + int state; +} FPUCtl; +void SetMixerFPUMode(FPUCtl *ctl); +void RestoreFPUMode(const FPUCtl *ctl); ALvoid *StartThread(ALuint (*func)(ALvoid*), ALvoid *ptr); ALuint StopThread(ALvoid *thread); |