Skip to content
  • Pekka Paalanen's avatar
    renderer/native: Copy mode irrelevant for bo freeing · fea6abb4
    Pekka Paalanen authored and Jonas Ådahl's avatar Jonas Ådahl committed
    Simplify the bo freeing functions by not checking what the copy mode is. This
    matches what swap_secondary_drm_fb () already does. g_clear_object () is safe
    to call even if the value is already NULL.
    
    The copy mode does not change mid-operation. If it did, this change would
    ensure we still clean up everything. So this is more future-proof too.
    
    !810
    fea6abb4