mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-27 02:49:48 +01:00
this is c++, use nullptr
This commit is contained in:
parent
73e19aee6f
commit
5146165599
1 changed files with 2 additions and 2 deletions
|
@ -65,8 +65,8 @@ void CMonitor::onConnect(bool noRule) {
|
|||
}
|
||||
|
||||
if (!m_bRenderingInitPassed) {
|
||||
output->allocator = NULL;
|
||||
output->renderer = NULL;
|
||||
output->allocator = nullptr;
|
||||
output->renderer = nullptr;
|
||||
wlr_output_init_render(output, g_pCompositor->m_sWLRAllocator, g_pCompositor->m_sWLRRenderer);
|
||||
m_bRenderingInitPassed = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue