From fb437a3c72184584aa3cb33e009758e3b122ecc7 Mon Sep 17 00:00:00 2001
From: VladDoc <totallynotafakesoap@gmail.com>
Date: Fri, 12 Apr 2024 20:37:17 +0300
Subject: [PATCH] white space fix

---
 src/hardware/hw_shaders.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/hardware/hw_shaders.c b/src/hardware/hw_shaders.c
index 32336d63fe..ee1e2acdf5 100644
--- a/src/hardware/hw_shaders.c
+++ b/src/hardware/hw_shaders.c
@@ -468,11 +468,10 @@ static char* HWR_PrependVersionDirective(const char* source, UINT32 version_inde
 	const UINT32 source_len = strlen(source);
 
 	char* result = Z_Malloc(source_len + version_len + 1, PU_STATIC, NULL);
-
 	strcpy(result, version_directives[version_index]);
-    strcpy(result + version_len, source);
+	strcpy(result + version_len, source);
 
-    return result;
+	return result;
 }
 
 static void HWR_ReplaceVersionInplace(char* shader, UINT32 version_index)
@@ -514,6 +513,7 @@ static void HWR_TryToCompileShaderWithImplicitVersion(INT32 shader_index, INT32
 
 		if(!vert_shader_version_exists) {
 			// first time reallocation would have to be made
+
 			if(i == 0) {
 				void* old = (void*)gl_shaders[shader_index].vertex;
 				vert_shader = gl_shaders[shader_index].vertex = HWR_PrependVersionDirective(vert_shader, i);
-- 
GitLab