luciusDXL / TheForceEngine

Modern "Jedi Engine" replacement supporting Dark Forces, mods, and in the future Outlaws.
https://TheForceEngine.github.io
GNU General Public License v2.0
994 stars 73 forks source link

mesa Shader compiler error #439

Closed mlauss2 closed 3 months ago

mlauss2 commented 3 months ago

@luciusDXL please add a newline at the end of file Shaders/curve.h, fixes this mesa shader compiler complaint:

[Error : Shader] Failed to compile 'Shaders/line2d.frag'!

[Error : Shader] Error: 0:130(2): preprocessor error: syntax error, unexpected HASH_TOKEN
0:7(1): preprocessor error: Unterminated #if
luciusDXL commented 3 months ago

They already have new lines at the end, I will try adding another.

@mlauss2 Try the latest shaders in master.

mlauss2 commented 3 months ago

@luciusDXL : the curve.h one was the missing one. fixed now.