Skip to content

Commit

Permalink
Use Opengl 4.0+
Browse files Browse the repository at this point in the history
  • Loading branch information
GhostFoxSledgehammer committed Jun 4, 2021
1 parent 9e3c775 commit 1926511
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/Shaders/frag.shader
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#version 330
#version 400
in vec2 tc;
out vec4 color;
uniform sampler2D samp;
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/Shaders/vertex.shader
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#version 330
#version 400
layout (location=0) in vec3 pos;
layout (location=1) in vec2 texCoord;
out vec2 tc;
Expand Down

0 comments on commit 1926511

Please sign in to comment.