Skip to content
  • Julien Isorce's avatar
    gl: add and use gst_gl_internal_format_rgba · fce0e0ba
    Julien Isorce authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
    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.
    fce0e0ba