annotate src/hermes/common.inc @ 1734:f7c667ded87d SDL-1.3

The general code handles restoring video mode/gamma/etc. when the window loses focus. Support for changing fullscreen/windowed mode in progress.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 09 Jul 2006 18:09:16 +0000
parents 412149a1c756
children
rev   line source
1697
393092a3ebf6 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1 ; Some common macros for hermes nasm code
393092a3ebf6 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2
393092a3ebf6 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
3 %macro SDL_FUNC 1
393092a3ebf6 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
4 %ifdef HIDDEN_VISIBILITY
393092a3ebf6 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
5 GLOBAL %1:function hidden
393092a3ebf6 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
6 %else
393092a3ebf6 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
7 GLOBAL %1
393092a3ebf6 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
8 %endif
393092a3ebf6 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
9 %endmacro