Skip to content
  • Deucе's avatar
    Optimize color_value() and fix RIP reset · 75bd66f1
    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.
    75bd66f1