Skip to content
  • Robert Bragg's avatar
    pick: Use Cogl API not GL API to disable dithering · c6a0427c
    Robert Bragg authored
    
    
    When picking we need to disable dithering to be sure that the hardware
    will not modify the colors we use as actor identifiers. Clutter was
    manually calling glEnable/Disable GL_DITHER to handle this, but that was
    a layering violation since Cogl is intended to handle all interactions
    with OpenGL. Since we are now striving for GL vs GLES to be a runtime
    choice we need to remove this last direct usage of GL from Clutter so it
    doesn't have to be linked with GL at build time.
    
    Signed-off-by: default avatarNeil Roberts <neil@linux.intel.com>
    c6a0427c