mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 02:31:15 +00:00
Rename function
This commit is contained in:
parent
48772b1a77
commit
b530e80e50
@ -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);
|
||||
|
||||
@ -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; }
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user