Fix resize crash

This commit is contained in:
2023-03-24 14:21:12 +00:00
parent 000fcbc1c9
commit 20c05be23f
8 changed files with 99 additions and 60 deletions
+2 -7
View File
@@ -1,10 +1,5 @@
#version 450 core
in vec2 vTexPos;
out vec4 fColor;
layout (binding = 0) uniform sampler2D screenTexture;
void main()
{
fColor = texture(screenTexture, vTexPos);
}
layout(binding = 0) uniform sampler2D screenTexture;
void main() { fColor = texture(screenTexture, vTexPos); }