mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-16 08:27:01 +00:00
CUniformBuffer: Convert 0 literal into nullptr
Explicit typing.
This commit is contained in:
@@ -74,7 +74,7 @@ private:
|
||||
void InitializeBuffer()
|
||||
{
|
||||
Bind();
|
||||
glBufferData(GL_UNIFORM_BUFFER, mBufferSize, 0, GL_DYNAMIC_DRAW);
|
||||
glBufferData(GL_UNIFORM_BUFFER, mBufferSize, nullptr, GL_DYNAMIC_DRAW);
|
||||
Unbind();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user