Closed sfan5 closed 2 weeks ago
for the second point: ES 3.2 spec, p. 409
this matches the logged error
I'll open a PR for the second problem everything. As it turns out GL_[A-Z]+_FRAMEBUFFER
references are all over the code and are all not compliant with GLES 2.0.
spotted this in an mpv-android user log, so I set out to investigate:
code here: https://github.com/haasn/libplacebo/blob/756220c3ee760eb62c0b89172e80f713f89fe571/src/opengl/gpu.c#L247-L271
noticed two things:
GL_FRAMEBUFFER
, but the code usesGL_DRAW_FRAMEBUFFER
(their values are not identical)GL_IMPLEMENTATION_COLOR_READ_*
the documentation only talks about "the color buffer of the currently bound framebuffer". this makes sense on gles2 where there is only one, but on gles3 there are several. maybe it actually checks theGL_READ_FRAMEBUFFER
(which is not bound), causing that error?