浏览代码

Update palette_switch.fs (#5205)

Removed unnecessary `a` in palette_switch.fs `note` comment
pull/5177/head
Smallz3201 2 周前
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)

正在加载...
取消
保存