소스 검색

Update shaders_palette_switch.c

pull/3983/head
Ray 1 년 전
부모
커밋
479bd84400
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      examples/shaders/shaders_palette_switch.c

+ 1
- 1
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);
//----------------------------------------------------------------------------------

불러오는 중...
취소
저장