mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-06 05:06:08 +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()
|
void InitializeBuffer()
|
||||||
{
|
{
|
||||||
Bind();
|
Bind();
|
||||||
glBufferData(GL_UNIFORM_BUFFER, mBufferSize, 0, GL_DYNAMIC_DRAW);
|
glBufferData(GL_UNIFORM_BUFFER, mBufferSize, nullptr, GL_DYNAMIC_DRAW);
|
||||||
Unbind();
|
Unbind();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user