- [Mac] [RM primitive] Fix shader not compiling.

This commit is contained in:
Tanasart 2024-09-10 09:55:58 +07:00
parent 1410549965
commit 447d1ffa96

View file

@ -1,10 +1,16 @@
#extension GL_OES_standard_derivatives : enable
//Inigo Quilez
//Oh where would I be without you.
#define MACOS 1
#ifdef MACOS
#define MAX_SHAPES 16
#define MAX_OP 32
#else
#extension GL_OES_standard_derivatives : enable
#define MAX_SHAPES 16
#define MAX_OP 32
#endif
varying vec2 v_vTexcoord;
varying vec4 v_vColour;