cubic shaders - older card compatibility

This commit is contained in:
tryal-star 2019-11-13 16:13:41 +00:00
parent 186faffccc
commit 558a06d5d1
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ void main()
#if __VERSION__ >= 130
#define COMPAT_VARYING in
#define COMPAT_TEXTURE texture
out mediump vec4 FragColor;
out vec4 FragColor;
#else
#define COMPAT_VARYING varying
#define FragColor gl_FragColor

View File

@ -44,7 +44,7 @@ void main()
#if __VERSION__ >= 130
#define COMPAT_VARYING in
#define COMPAT_TEXTURE texture
out mediump vec4 FragColor;
out vec4 FragColor;
#else
#define COMPAT_VARYING varying
#define FragColor gl_FragColor