Skip to content

Commit

Permalink
Fix GLSL version to access sampler array
Browse files Browse the repository at this point in the history
  • Loading branch information
lwjglgamedev committed Mar 9, 2024
1 parent 4cad8ad commit b7c5258
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chapter-17/resources/shaders/scene.frag
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#version 330
#version 410

const int DEBUG_SHADOWS = 0;
const int MAX_POINT_LIGHTS = 5;
Expand Down
2 changes: 1 addition & 1 deletion chapter-18/resources/shaders/scene.frag
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#version 330
#version 410

const int DEBUG_SHADOWS = 0;
const int MAX_POINT_LIGHTS = 5;
Expand Down

0 comments on commit b7c5258

Please sign in to comment.