shithub: cstory

Download patch

ref: 4d10c2cc21a821349469b9d6cd858c59553a46e0
parent: 690a87dbfd0478d2d4361ae5fc37d10d165f7a87
author: Gabriel Ravier <gabravier@gmail.com>
date: Sat Apr 11 20:58:09 EDT 2020

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

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>

--- a/src/Backends/Rendering/OpenGL3.cpp
+++ b/src/Backends/Rendering/OpenGL3.cpp
@@ -331,7 +331,9 @@
 
 		VertexBufferSlot *reallocResult = (VertexBufferSlot *)realloc(local_vertex_buffer, local_vertex_buffer_size * sizeof(VertexBufferSlot));
 		if (reallocResult)
+		{
 			local_vertex_buffer = reallocResult;
+		}
 		else
 		{
 			Backend_PrintError("Couldn't expand vertex buffer");