diff src/video/windib/SDL_dibevents.c @ 833:31fa08b36380

Added support for SDL_VIDEO_WINDOW_POS and SDL_VIDEO_CENTERED on Windows
author Sam Lantinga <slouken@libsdl.org>
date Mon, 16 Feb 2004 21:09:24 +0000
parents b8d311d90021
children b8427b5151ed
line wrap: on
line diff
--- a/src/video/windib/SDL_dibevents.c	Mon Feb 16 21:06:10 2004 +0000
+++ b/src/video/windib/SDL_dibevents.c	Mon Feb 16 21:09:24 2004 +0000
@@ -379,7 +379,7 @@
 	} else {
 		SDL_Window = CreateWindow(SDL_Appname, SDL_Appname,
                         (WS_OVERLAPPED|WS_CAPTION|WS_SYSMENU|WS_MINIMIZEBOX),
-                                 0, 0, 0, 0, NULL, NULL, SDL_Instance, NULL);
+                        CW_USEDEFAULT, CW_USEDEFAULT, 0, 0, NULL, NULL, SDL_Instance, NULL);
 		if ( SDL_Window == NULL ) {
 			SDL_SetError("Couldn't create window");
 			return(-1);