Skip to content
  • Matthias Clasen's avatar
    Use the surface colorstate in begin_frame · 53d99f55
    Matthias Clasen authored
    begin_frame is the place where we make decisions about the format,
    depth and colorstate for our rendering. Make these calls take the
    surface color state into account.
    
    In particular, if the surface colorstate is suitable for GL_SRGB,
    and we don't need high depth, set things up for that.
    53d99f55