forked from joejulian/gio
gpu/shaders: avoid first-class arrays
Safari's WebGL1 implementation (rightly) complains that first-class array types are not supported as function result types. Define and use a struct type instead. While we're here, use const variables instead of functions. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+62
-68
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user