瀏覽代碼

Update palette_switch.fs (#5205)

Removed unnecessary `a` in palette_switch.fs `note` comment
pull/5177/head
Smallz3201 3 週之前
committed by GitHub
父節點
當前提交
fe8c83b57d
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: B5690EEEBB952194
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      examples/shaders/resources/shaders/glsl330/palette_switch.fs

+ 1
- 1
examples/shaders/resources/shaders/glsl330/palette_switch.fs 查看文件

@ -17,7 +17,7 @@ out vec4 finalColor;
void main()
{
// Texel color fetching from texture sampler
// NOTE: The texel is actually the a GRAYSCALE index color
// NOTE: The texel is actually the GRAYSCALE index color
vec4 texelColor = texture(texture0, fragTexCoord)*fragColor;
// Convert the (normalized) texel color RED component (GB would work, too)

Loading…
取消
儲存