Commit fce0e0ba authored by Committed by Tim-Philipp Müller
gl: add and use gst_gl_internal_format_rgba
Previously when compiling GstGL with both GL and GLES2, GL_RGBA8 was picked from GL/gl.h. But a clash may happen at runtime when one is selecting GLES2. gst_gl_internal_format_rgba allows to check at runtime if it should use GL_RGBA or GL_RGBA8.
Showing with 31 additions and 15 deletions