Add SDL_test test suite; add fuzzer test cases; fix fuzzer bug; fix compiler warnings

This commit is contained in:
Andreas Schiffler 2013-02-08 07:14:50 -08:00
parent 4e861f19ca
commit da76be8927
8 changed files with 148 additions and 5 deletions

View file

@ -557,7 +557,7 @@ WIN_SetWindowGrab(_THIS, SDL_Window * window, SDL_bool grabbed)
{
HWND top;
SDL_WindowData *data = (SDL_WindowData *) window->driverdata;
HWND hwnd = ((SDL_WindowData *) window->driverdata)->hwnd;
HWND hwnd = data->hwnd;
UINT flags = SWP_NOMOVE | SWP_NOSIZE;
if ( SDL_ShouldAllowTopmost() && (window->flags & SDL_WINDOW_INPUT_FOCUS ) ) {