diff options
| author | Ray <[email protected]> | 2024-05-15 16:19:53 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2024-05-15 16:19:53 +0200 |
| commit | 479bd84400d2da4af4f1c902db2f579611d36b99 (patch) | |
| tree | c1cc607a112cb8c4c1cf8057add41ab54e4681bd | |
| parent | 46f98063597648227cfa6fbe96c189ed970faea8 (diff) | |
| download | raylib-479bd84400d2da4af4f1c902db2f579611d36b99.tar.gz raylib-479bd84400d2da4af4f1c902db2f579611d36b99.zip | |
Update shaders_palette_switch.c
| -rw-r--r-- | examples/shaders/shaders_palette_switch.c | 2 |
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);
//----------------------------------------------------------------------------------
|
