diff options
| author | Lioncash <mai.iam2048@gmail.com> | 2023-04-15 03:27:35 -0400 |
|---|---|---|
| committer | Lioncash <mai.iam2048@gmail.com> | 2023-04-15 03:35:05 -0400 |
| commit | 784a21692763296cbd93f59c4cf8a58c902b81e8 (patch) | |
| tree | a7d726934bdce1acaef3c7994abf45fc541f9054 /Source/Core/VideoBackends/OGL/OGLStreamBuffer.cpp | |
| parent | 5e0c20f8a53d587e4fcacfd202627eadd3a12472 (diff) | |
Common/MathUtil: Move IntLog2 into MathUtil namespace
Gets this out of the global namespace.
Diffstat (limited to 'Source/Core/VideoBackends/OGL/OGLStreamBuffer.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/OGLStreamBuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/OGL/OGLStreamBuffer.cpp b/Source/Core/VideoBackends/OGL/OGLStreamBuffer.cpp index b4f26db453..1d5deadfcf 100644 --- a/Source/Core/VideoBackends/OGL/OGLStreamBuffer.cpp +++ b/Source/Core/VideoBackends/OGL/OGLStreamBuffer.cpp @@ -25,7 +25,7 @@ static u32 GenBuffer() StreamBuffer::StreamBuffer(u32 type, u32 size) : m_buffer(GenBuffer()), m_buffertype(type), m_size(MathUtil::NextPowerOf2(size)), - m_bit_per_slot(IntLog2(MathUtil::NextPowerOf2(size) / SYNC_POINTS)) + m_bit_per_slot(MathUtil::IntLog2(MathUtil::NextPowerOf2(size) / SYNC_POINTS)) { m_iterator = 0; m_used_iterator = 0; |
