Fixed compiling shader

Fixed compiling shader

diff --git a/src/engine/GPURenderer/r_glsl.cpp b/src/engine/GPURenderer/r_glsl.cpp
index 62ce8b9..2a1b0ef 100644
--- a/src/engine/GPURenderer/r_glsl.cpp
+++ b/src/engine/GPURenderer/r_glsl.cpp
@@ -1505,7 +1505,7 @@ void idRenderSystemLocal::InitGPUShaders( void )
     /////////////////////////////////////////////////////////////////////////////
     attribs = 0;
     extradefines[0] = '\0';
-    Q_strcat( extradefines, sizeof( extradefines ), "#define BLUR_X" );
+    Q_strcat( extradefines, sizeof( extradefines ), "#define BLUR_X\n" );
     
     if( !GLSL_InitGPUShader( &tr.gaussianBlurShader[0], "gaussian_blur", attribs, true, extradefines, true ) )
     {

GitHub
sha: f126d4b1

1 Like