diff options
| author | Tom Englund <tomenglund26@gmail.com> | 2025-09-25 01:44:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-25 01:44:33 +0200 |
| commit | 8cce3b98cebd6910a9c94c11a6efb2293d2031bc (patch) | |
| tree | 170990c2f38e0c0e8f6aff30f30dd3bd035c2813 /src/render/OpenGL.cpp | |
| parent | 683fc77f80e6ba32cd3cff04fccdc95f7a9308a1 (diff) | |
shm: refactor to UP and correct m_data check (#11820)
use unique pointers and rvalue references where applicable, buffer is
still a shared pointer because CHLBufferReference uses it to hold it
locked.
in CSHMPool destructor add a check for m_data != MAP_FAILED same in
resize, because mmap returns (void *) -1 on failure and that is not
comparable to nullptr. delete default constructor so we dont end up in
weird states with m_data.
Diffstat (limited to 'src/render/OpenGL.cpp')
0 files changed, 0 insertions, 0 deletions
