mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-09-08 03:16:30 -05:00
Embrace nullptr over NULL and 0
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user