Skip to content
Permalink
Browse files

Fixed mismerged patch.

  • Loading branch information
icculus committed Aug 11, 2005
1 parent 784ec81 commit 29f4526db9e22353b91ca4b3b533ce7c2f1780aa
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/video/windx5/SDL_dx5events.c
@@ -181,7 +181,7 @@ static int DX5_DInputInit(_THIS)
SetDIerror("DirectInputDevice::QueryInterface", result);
return(-1);
}
topwnd = GetTopLevelParent(SDL_Window, GA_ROOT);
topwnd = GetTopLevelParent(SDL_Window);
result = IDirectInputDevice2_SetCooperativeLevel(SDL_DIdev[i],
topwnd, inputs[i].win_level);
if ( result != DI_OK ) {
@@ -665,7 +665,7 @@ void DX5_DInputReset(_THIS, int fullscreen)
level = inputs[i].win_level;
}
IDirectInputDevice2_Unacquire(SDL_DIdev[i]);
topwnd = GetTopLevelParent(SDL_Window, GA_ROOT);
topwnd = GetTopLevelParent(SDL_Window);
result = IDirectInputDevice2_SetCooperativeLevel(
SDL_DIdev[i], topwnd, level);
IDirectInputDevice2_Acquire(SDL_DIdev[i]);

0 comments on commit 29f4526

Please sign in to comment.