Skip to content

Commit

Permalink
Fix warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
elishacloud committed Sep 28, 2024
1 parent d287f46 commit 9cd3f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddraw/IDirect3DX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ HRESULT m_IDirect3DX::CreateDevice(REFCLSID rclsid, LPDIRECTDRAWSURFACE7 lpDDS,
}

// Check if a device is already created
if (*ddrawParent->GetCurrentD3D())
if (*ddrawParent->GetCurrentD3DDevice())
{
LOG_LIMIT(100, __FUNCTION__ << " Warning: Direct3D Device has already been created!");
}
Expand Down

0 comments on commit 9cd3f2a

Please sign in to comment.