fix: lower required OpenGL version + resolve offset bug
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#version 450 core
|
||||
#version 330 core
|
||||
out vec4 FragColor;
|
||||
|
||||
in vec3 ourColor;
|
||||
@@ -7,8 +7,7 @@ in vec2 TexCoord;
|
||||
// texture sampler
|
||||
uniform sampler2D texture1;
|
||||
|
||||
void main()
|
||||
{
|
||||
FragColor = texture(texture1, TexCoord).wzyx;
|
||||
void main() {
|
||||
FragColor = texture(texture1, TexCoord);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user