Explorar el Código

Removed change to windows message pump.

Darryl Gough hace 14 años
padre
commit
83d1d2456e
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  1. 0 2
      gameplay/src/PlatformWin32.cpp

+ 0 - 2
gameplay/src/PlatformWin32.cpp

@@ -253,8 +253,6 @@ static gameplay::Keyboard::Key getKey(WPARAM win32KeyCode, bool shiftDown)
 
 LRESULT CALLBACK __WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
 {
-    if (hwnd != __hwnd)
-        return DefWindowProc(hwnd, msg, wParam, lParam);
     // Scale factors for the mouse movement used to simulate the accelerometer.
     static const float ACCELEROMETER_X_FACTOR = 90.0f / WINDOW_WIDTH;
     static const float ACCELEROMETER_Y_FACTOR = 90.0f / WINDOW_HEIGHT;