Mercurial > sdl-ios-xcode
diff src/video/win32/SDL_win32window.c @ 1724:6c63fc2bd986 SDL-1.3
Proof of concept done - Win32 GDI implementation mostly complete.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 06 Jul 2006 07:17:11 +0000 |
parents | 5daa04d862f1 |
children | fd65f12b6de6 |
line wrap: on
line diff
--- a/src/video/win32/SDL_win32window.c Thu Jul 06 05:53:32 2006 +0000 +++ b/src/video/win32/SDL_win32window.c Thu Jul 06 07:17:11 2006 +0000 @@ -43,6 +43,7 @@ data->windowID = window->id; data->hwnd = hwnd; data->created = created; + data->mouse_pressed = SDL_FALSE; data->videodata = (SDL_VideoData *) SDL_GetVideoDevice()->driverdata; /* Associate the data with the window */ @@ -180,6 +181,8 @@ hwnd = CreateWindow(SDL_Appname, title ? title : TEXT(""), style, x, y, w, h, NULL, NULL, SDL_Instance, NULL); + WIN_PumpEvents(_this); + if (title) { SDL_free(title); }