This website requires JavaScript.
Explore
Help
Sign In
mth
/
ebiten
Watch
1
Star
0
Fork
0
You've already forked ebiten
mirror of
https://github.com/hajimehoshi/ebiten.git
synced
2024-11-10 21:17:27 +01:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
280cc1a732
ebiten
/
internal
/
shader
/
testdata
/
issue1238.expected.vs
11 lines
139 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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-19 15:56:53 +02:00
in vec2 A0;
shaderir: Bug fix: Early-returns in the entry points didn't work Fixes #1238
2020-07-05 10:47:19 +02:00
void main(void) {
if (true) {
gl_Position = vec4(A0, 0.0, 1.0);
return;
}
gl_Position = vec4(A0, 0.0, 1.0);
return;
}
Reference in New Issue
Copy Permalink