Backends/Rendering/OpenGL3: Wrap both sides of if-else with {} equally.
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
parent
690a87dbfd
commit
4d10c2cc21
1 changed files with 2 additions and 0 deletions
|
@ -331,7 +331,9 @@ static VertexBufferSlot* GetVertexBufferSlot(unsigned int slots_needed)
|
||||||
|
|
||||||
VertexBufferSlot *reallocResult = (VertexBufferSlot *)realloc(local_vertex_buffer, local_vertex_buffer_size * sizeof(VertexBufferSlot));
|
VertexBufferSlot *reallocResult = (VertexBufferSlot *)realloc(local_vertex_buffer, local_vertex_buffer_size * sizeof(VertexBufferSlot));
|
||||||
if (reallocResult)
|
if (reallocResult)
|
||||||
|
{
|
||||||
local_vertex_buffer = reallocResult;
|
local_vertex_buffer = reallocResult;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Backend_PrintError("Couldn't expand vertex buffer");
|
Backend_PrintError("Couldn't expand vertex buffer");
|
||||||
|
|
Loading…
Add table
Reference in a new issue