fix black screen
This commit is contained in:
parent
0401884144
commit
6b89ff963a
1 changed files with 0 additions and 3 deletions
|
@ -5,8 +5,5 @@ layout(location = 0) in vec3 fragColor;
|
|||
layout(location = 1) in vec2 position;
|
||||
|
||||
void main() {
|
||||
if (length(position) > 0.5) {
|
||||
discard;
|
||||
}
|
||||
outColor = vec4(fragColor, 1.0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue