Skip to content

fix: use highp samplers for GLES shaders - #9

Merged
Predidit merged 1 commit into
Predidit:mainfrom
zhn1100:agent/fix-anime4k-gles-color
Aug 4, 2026
Merged

fix: use highp samplers for GLES shaders#9
Predidit merged 1 commit into
Predidit:mainfrom
zhn1100:agent/fix-anime4k-gles-color

Conversation

@zhn1100

@zhn1100 zhn1100 commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Fixes the Anime4K color shift on Linux GLES by using highp sampler2D when fragment high precision is supported, while keeping the existing mediump fallback.

Tested with Kazumi on an NVIDIA RTX 4050 and AMD Radeon 680M using the original GLES2 renderer. Playback, Anime4K profiles, hardware decoding, seeking, fullscreen, player recreation, and danmaku worked normally.

Related to Predidit/Kazumi#1547.

@zhn1100
zhn1100 marked this pull request as ready for review August 4, 2026 08:27
@Predidit
Predidit merged commit ac817ea into Predidit:main Aug 4, 2026
2 checks passed
@Predidit

Predidit commented Aug 4, 2026

Copy link
Copy Markdown
Owner

这个修复的质量真的超棒,在我们合并这个补丁之后,我可以知道是哪个ai协助了你的工作吗

@zhn1100

zhn1100 commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

@Predidit 我使用opencode+DeepSeek在沙箱里进行各种实验,得到初步结论后借助用codex进行半手动的可靠性和安全性验证。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants