mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 19:28:57 +01:00
00e45affe9
'texelFetch' requires OpenGLSL 1.30, which requires OpenGL 3.0+. macOS might not support OpenGL 3.0 and 3.1, so adopt 3.2. Updates #1431
30 lines
247 B
GLSL
30 lines
247 B
GLSL
in vec2 A0;
|
|
|
|
void F0(void);
|
|
void F1(void);
|
|
void F2(void);
|
|
void F3(void);
|
|
|
|
void F0(void) {
|
|
F1();
|
|
F2();
|
|
}
|
|
|
|
void F1(void) {
|
|
F2();
|
|
F3();
|
|
}
|
|
|
|
void F2(void) {
|
|
}
|
|
|
|
void F3(void) {
|
|
F2();
|
|
}
|
|
|
|
void main(void) {
|
|
F0();
|
|
gl_Position = vec4(0.0);
|
|
return;
|
|
}
|