Skip to content

Commit

Permalink
Shader.md sampler correction (#472)
Browse files Browse the repository at this point in the history
- small fix to code sample in Shader.md

- uniform sampler should be sampler2D keyword. Otherwise code sample may confuse some users copying the example.
  • Loading branch information
FlexYourBrain committed Sep 5, 2024
1 parent 133b3f9 commit e88a7e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/manuals/shader.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ in vec2 var_texcoord0;
out vec4 color_out;
uniform sampler texture_sampler;
uniform sampler2D texture_sampler;
uniform fs_uniforms
{
Expand Down

0 comments on commit e88a7e0

Please sign in to comment.