mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-05-02 14:47:58 +03:00
specific: fix WndProc definition
This commit is contained in:
parent
981b91e81d
commit
65e336cdcf
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ static const char *WindowName = "Tomb Raider";
|
|||
// clang-format on
|
||||
|
||||
static void WinGameFinish();
|
||||
static LRESULT WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
||||
static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
||||
static int InitDirectDraw();
|
||||
|
||||
void TerminateGame(int exit_code)
|
||||
|
@ -99,7 +99,7 @@ static int InitDirectDraw()
|
|||
return 1;
|
||||
}
|
||||
|
||||
static LRESULT WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
if (uMsg == CloseMsg) {
|
||||
DestroyWindow(TombHWND);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue