use fancy macros

This commit is contained in:
FunkyFr3sh 2018-11-12 00:39:47 +01:00
parent 6b8208ad85
commit 9811f310bc
4 changed files with 37 additions and 37 deletions

View file

@ -704,7 +704,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
case WM_D3D9DEVICELOST:
{
if (Direct3D9Active && Direct3D9_DeviceLost())
if (Direct3D9Active && Direct3D9_OnDeviceLost())
{
if (!ddraw->windowed)
mouse_lock();