Page 1 of 1

Bug on Mac version loading GLSL shaders

Posted: Wed Oct 02, 2019 8:37 pm
by themindbendersdotcom
Hi,

I'm encountering what seems like a bug in the Mac version of Magic Musical Visuals. Certain shaders that load just fine on the Windows version of Magic will crash the Mac OS version.

For example this shader works fine on the PC version of the software but on the Mac version it quits the program:
https://www.shadertoy.com/view/4dGcDh

If I remove the comments at the top of the shader works just fine on the Mac version. I assume it is something to do with how the Mac version is interpreting the comments.

Please let me know if you are able to reproduce the issue.

Re: Bug on Mac version loading GLSL shaders

Posted: Thu Oct 03, 2019 2:21 pm
by Magic
Thanks. There's another bug floating around which has to do with the comments, so for the next release I'll make the GLSLShader module ignore them completely before the GLSL code is processed.