diff test/testwin.c @ 1152:51a8702d8ecd

Updates to PocketPC (WinCE) support, thanks to Dmitry Yakimov at activekitten.com.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 29 Sep 2005 09:43:00 +0000
parents be9c9c8f6d53
children 14717b52abc0
line wrap: on
line diff
--- a/test/testwin.c	Wed Sep 28 11:36:20 2005 +0000
+++ b/test/testwin.c	Thu Sep 29 09:43:00 2005 +0000
@@ -248,11 +248,18 @@
 	flip = 0;
 	nofade = 0;
 	delay = 1;
+
+#ifdef _WIN32_WCE
+	w = 640;
+	h = 320;
+	desired_bpp = 0;
+	video_flags = SDL_FULLSCREEN;
+#else
 	w = 640;
 	h = 480;
 	desired_bpp = 0;
 	video_flags = 0;
-
+#endif
 	if ( SDL_Init(SDL_INIT_VIDEO) < 0 ) {
 		fprintf(stderr,
 			"Couldn't initialize SDL: %s\n", SDL_GetError());