Re: minisphere 1.5.3
Reply #759 –
Interesting, apparently for whatever reason your system doesn't like
uint uniforms in shaders. That same shader compiles fine on every Windows machine I've tested on, although I can't speak for Linux as I've never seen DaVince's startup listing. In any case, the uniform in question wasn't even used (it was part of a failed attempt to implement blending in the fragment shader), so I removed it and also cleaned up the CoffeeScript output (I forgot to add newlines).
I did manage to fix (or think I fixed) the crash on canceling the file dialog. Apparently
al_show_native_file_dialog() returns true on OS X on cancel, even though it returns false in that circumstance seemingly everywhere else. Then again, I probably just misinterpreted the documentation:
Returns true on success, false on failure.
I originally interpreted "failure" to mean "the user closed the dialog", but that might not have been the intent, since Allegro provides a different function,
al_get_native_file_dialog_count(), which returns the number of files selected. If the user cancels, the documentation says explicitly that this will return zero. So that's what I used.