mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 20:58:54 +00:00
Embrace nullptr over NULL and 0
This commit is contained in:
parent
ae18aa0639
commit
a5d06fde4b
16 changed files with 36 additions and 33 deletions
|
@ -221,7 +221,7 @@ bool DXContext::CreateFence()
|
|||
return false;
|
||||
|
||||
m_fence_event = CreateEvent(nullptr, FALSE, FALSE, nullptr);
|
||||
ASSERT_MSG(VIDEO, m_fence_event != NULL, "Failed to create fence event");
|
||||
ASSERT_MSG(VIDEO, m_fence_event != nullptr, "Failed to create fence event");
|
||||
if (!m_fence_event)
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue