Skip to content
  • Deucе's avatar
    b1599100
    Optimize color_value() and fix RIP reset · b1599100
    Deucе authored
    color_value() is in the hot drawing path, so should be as fast
    as possible... remove all the bit shifting and have the palette
    just be colour values.
    
    For RIP, the reset wasn't resetting the global coordinates, so a
    scaled image would cause everything to be scaled down later.
    b1599100
    Optimize color_value() and fix RIP reset
    Deucе authored
    color_value() is in the hot drawing path, so should be as fast
    as possible... remove all the bit shifting and have the palette
    just be colour values.
    
    For RIP, the reset wasn't resetting the global coordinates, so a
    scaled image would cause everything to be scaled down later.
Loading