Implement SDL platform, windowing and input handling
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Copyright (c) Wojciech Figat. All rights reserved.
|
||||
|
||||
#if PLATFORM_WINDOWS
|
||||
#if PLATFORM_WINDOWS && !PLATFORM_SDL
|
||||
|
||||
#include "WindowsWindow.h"
|
||||
#include "WindowsPlatform.h"
|
||||
@@ -1308,7 +1308,7 @@ LRESULT WindowsWindow::WndProc(UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
|
||||
if (_settings.AllowInput)
|
||||
{
|
||||
if (WindowsInput::WndProc(this, msg, wParam, lParam))
|
||||
if (WindowsInput::WndProc((Window*)this, msg, wParam, lParam))
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user