From b530e80e50432815ca44a0a38931d3b343418f38 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Thu, 4 Jan 2024 14:25:39 -0500 Subject: [PATCH] Rename function --- ISLE/isleapp.cpp | 2 +- LEGO1/mxdirect3d.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ISLE/isleapp.cpp b/ISLE/isleapp.cpp index ab0d2290..c402098d 100644 --- a/ISLE/isleapp.cpp +++ b/ISLE/isleapp.cpp @@ -388,7 +388,7 @@ LRESULT WINAPI WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) return DefWindowProcA(hWnd, uMsg, wParam, lParam); case WM_DISPLAYCHANGE: if (g_isle && VideoManager() && g_isle->m_fullScreen && VideoManager()->GetDirect3D()) { - if (VideoManager()->GetDirect3D()->GetDeviceModeFinder()) { + if (VideoManager()->GetDirect3D()->GetAssignedDevice()) { int targetDepth = wParam; int targetWidth = LOWORD(lParam); int targetHeight = HIWORD(lParam); diff --git a/LEGO1/mxdirect3d.h b/LEGO1/mxdirect3d.h index 02998d91..9ae4dfd7 100644 --- a/LEGO1/mxdirect3d.h +++ b/LEGO1/mxdirect3d.h @@ -59,7 +59,7 @@ class MxDirect3D : public MxDirectDraw { BOOL D3DSetMode(); BOOL SetDevice(MxDeviceEnumerate& p_deviceEnumerator, MxDriver* p_driver, MxDevice* p_device); - inline MxAssignedDevice* GetDeviceModeFinder() { return this->m_assignedDevice; }; + inline MxAssignedDevice* GetAssignedDevice() { return this->m_assignedDevice; }; inline IDirect3D* GetDirect3D() { return this->m_pDirect3d; } inline IDirect3DDevice* GetDirect3DDevice() { return this->m_pDirect3dDevice; }