Mercurial > sdl-ios-xcode
diff src/video/win32/SDL_win32window.c @ 4900:69d9db65f248
Merged the Windows custom window system hooks into the union used by X11.
Added Cocoa custom window system hooks
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 27 Sep 2010 01:24:05 -0700 |
parents | 518d1679d2d0 |
children | 50d0bff24d81 |
line wrap: on
line diff
--- a/src/video/win32/SDL_win32window.c Mon Sep 27 00:50:46 2010 -0700 +++ b/src/video/win32/SDL_win32window.c Mon Sep 27 01:24:05 2010 -0700 @@ -551,7 +551,8 @@ { HWND hwnd = ((SDL_WindowData *) window->driverdata)->hwnd; if (info->version.major <= SDL_MAJOR_VERSION) { - info->window = hwnd; + info->subsystem = SDL_SYSWM_WINDOWS; + info->info.win.window = hwnd; return SDL_TRUE; } else { SDL_SetError("Application not compiled with SDL %d.%d\n",