ebiten/internal/shader/testdata/issue1238.expected.vs
Hajime Hoshi 00e45affe9 all: update OpenGL version from 2.1 to 3.2
'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
2023-04-23 14:25:36 +09:00

11 lines
139 B
GLSL

in vec2 A0;
void main(void) {
if (true) {
gl_Position = vec4(A0, 0.0, 1.0);
return;
}
gl_Position = vec4(A0, 0.0, 1.0);
return;
}