mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-04 20:26:05 +00:00
CUniformBuffer: Convert 0 literal into nullptr
Explicit typing.
This commit is contained in:
parent
82d47e82e9
commit
4f4ef28bb1
@ -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();
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user