this is c++, use nullptr

This commit is contained in:
tomahk 2022-09-19 21:45:00 +02:00
parent 73e19aee6f
commit 5146165599

View file

@ -65,8 +65,8 @@ void CMonitor::onConnect(bool noRule) {
} }
if (!m_bRenderingInitPassed) { if (!m_bRenderingInitPassed) {
output->allocator = NULL; output->allocator = nullptr;
output->renderer = NULL; output->renderer = nullptr;
wlr_output_init_render(output, g_pCompositor->m_sWLRAllocator, g_pCompositor->m_sWLRRenderer); wlr_output_init_render(output, g_pCompositor->m_sWLRAllocator, g_pCompositor->m_sWLRRenderer);
m_bRenderingInitPassed = true; m_bRenderingInitPassed = true;
} }