• Julien Isorce's avatar
    gl: add and use gst_gl_internal_format_rgba · fce0e0ba
    Julien Isorce authored
    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
gstglfiltershader.c 13 KB