summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRay <[email protected]>2024-05-15 16:19:53 +0200
committerRay <[email protected]>2024-05-15 16:19:53 +0200
commit479bd84400d2da4af4f1c902db2f579611d36b99 (patch)
treec1cc607a112cb8c4c1cf8057add41ab54e4681bd
parent46f98063597648227cfa6fbe96c189ed970faea8 (diff)
downloadraylib-479bd84400d2da4af4f1c902db2f579611d36b99.tar.gz
raylib-479bd84400d2da4af4f1c902db2f579611d36b99.zip
Update shaders_palette_switch.c
-rw-r--r--examples/shaders/shaders_palette_switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shaders/shaders_palette_switch.c b/examples/shaders/shaders_palette_switch.c
index 3d7d409d..9ff86d83 100644
--- a/examples/shaders/shaders_palette_switch.c
+++ b/examples/shaders/shaders_palette_switch.c
@@ -109,7 +109,7 @@ int main(void)
if (currentPalette >= MAX_PALETTES) currentPalette = 0;
else if (currentPalette < 0) currentPalette = MAX_PALETTES - 1;
- // Send new value to the shader to be used on drawing.
+ // Send palette data to the shader to be used on drawing
// NOTE: We are sending RGB triplets w/o the alpha channel
SetShaderValueV(shader, paletteLoc, palettes[currentPalette], SHADER_UNIFORM_IVEC3, COLORS_PER_PALETTE);
//----------------------------------------------------------------------------------