Backends/Rendering/OpenGL3: Wrap both sides of if-else with {} equally.

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
Gabriel Ravier 2020-04-12 00:58:09 +02:00
parent 690a87dbfd
commit 4d10c2cc21

View file

@ -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");