forked from mirrors/gstreamer-rs
cb40917ac9
This is what you get with an untyped API. `glGetError()` further down the line was returning `GL_INVALID_OPERATION` and failing other calls after `load()` in the `glutin 0.31` upgrade. This turns out to be [returned by `glGetProgramiv`] when the `program` that is passed in does not refer to a program object. Which was the case here, where the fragment shader identifier was passed in instead. Just in case we insert a few extra asserts that check the result of `glGetError()` to catch such issues earlier on in the chain, instead of postponing them and falsely accusing code that runs later. [returned by `glGetProgramiv`]: https://registry.khronos.org/OpenGL-Refpages/es2.0/xhtml/glGetProgramiv.xml#errors Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1344> |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml |