mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-26 06:56:45 +01:00
- [Mac] [RM primitive] Fix shader not compiling.
This commit is contained in:
parent
1410549965
commit
447d1ffa96
1 changed files with 10 additions and 4 deletions
|
@ -1,10 +1,16 @@
|
||||||
#extension GL_OES_standard_derivatives : enable
|
|
||||||
|
|
||||||
//Inigo Quilez
|
//Inigo Quilez
|
||||||
//Oh where would I be without you.
|
//Oh where would I be without you.
|
||||||
|
|
||||||
|
#define MACOS 1
|
||||||
|
|
||||||
|
#ifdef MACOS
|
||||||
#define MAX_SHAPES 16
|
#define MAX_SHAPES 16
|
||||||
#define MAX_OP 32
|
#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 vec2 v_vTexcoord;
|
||||||
varying vec4 v_vColour;
|
varying vec4 v_vColour;
|
||||||
|
|
Loading…
Reference in a new issue