| Summary: | Bug in NV12/NV21 shaders in OpenGLES2 | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Ryan C. Gordon <icculus> |
| Component: | render | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED INVALID | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | sylvain.becker |
| Version: | HG 2.0 | ||
| Hardware: | ARM | ||
| OS: | Other | ||
| URL: | https://discourse.libsdl.org/t/sdl2-bug-in-nv12-nv21-shaders-in-opengles2/25480 | ||
| Attachments: | test-case | ||
|
Description
Ryan C. Gordon
2018-12-20 02:05:10 UTC
I haven’t looked at this, but the GLES2 renderer sometimes does strange things with color channels to fake support for different texture formats...this fix might be valid, but it needs to be examined further first. --ryan. Created attachment 3931 [details]
test-case
I've just tried with this test-case and it seems to be displayed correctly.
Applying the patch would produce bad colors.
So I'm closing it ...
marked as invalid |