diff options
author | Sam Lantinga <slouken@libsdl.org> | 2011-03-26 21:28:17 -0700 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2011-03-26 21:28:17 -0700 |
commit | a6b1254d20f8d89536bcade407eaa9beeb848d58 (patch) | |
tree | 9f7da0d557a1593407be078f8b7838a71e9450ec /test/testspriteminimal.c | |
parent | 49d61ce49fc07fc66942f4f0cf4b361b2eb80e84 (diff) | |
download | sdl-a6b1254d20f8d89536bcade407eaa9beeb848d58.tar.gz |
NDS update
Frank Zago to SDL
There's also a patch to adapt one test for the nds, and that adds several
makefiles to compile these tests. Whenever you apply it, could you completely
remove the test/nds-test-progs/sprite and test/nds-test-progs/sprite2
directories ?
Diffstat (limited to 'test/testspriteminimal.c')
-rw-r--r-- | test/testspriteminimal.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/testspriteminimal.c b/test/testspriteminimal.c index e4124e65b..63ab615b3 100644 --- a/test/testspriteminimal.c +++ b/test/testspriteminimal.c @@ -6,8 +6,13 @@ #include "SDL.h" +#ifdef __NDS__ +#define WINDOW_WIDTH 256 +#define WINDOW_HEIGHT (2*192) +#else #define WINDOW_WIDTH 640 #define WINDOW_HEIGHT 480 +#endif #define NUM_SPRITES 100 #define MAX_SPEED 1 |