diff options
| author | tomahk <hyprland@tutanota.com> | 2022-09-19 21:45:00 +0200 |
|---|---|---|
| committer | tomahk <hyprland@tutanota.com> | 2022-09-19 21:45:00 +0200 |
| commit | 51461655990da1c6b5c932e235bf664f4797b7cf (patch) | |
| tree | b5a481456c9ef40c7ebbfd1f2eac921535e3c34c /src/helpers/Monitor.cpp | |
| parent | 73e19aee6fc9d9754dfcf59f16480172f080f639 (diff) | |
this is c++, use nullptr
Diffstat (limited to 'src/helpers/Monitor.cpp')
| -rw-r--r-- | src/helpers/Monitor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index c3d56dfc..ab04bcbe 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -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; } |
