Mercurial > sdl-ios-xcode
diff src/video/windx5/directx.h @ 4386:dcb26ac38e6b SDL-1.2
Fixed crash - need to save and restore rbx around cpuid, since the compiler may be assuming the stack pointer isn't being modified when filling in %0.
I did it around each call to cpuid which isn't strictly necessary, but is definitely future proof. :)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 02 Dec 2009 16:24:21 +0000 |
parents | a6f635e5eaa6 |
children | eada7e321df6 |