Is this function highly deprecated and or inefficient?
I want to implement oldskool-style palette cycling effects and so far this is the way I've been using, but I don't want to continue using it if it's madly bad.
So far the problems I can see involve having to bind every texture that uses the palette colors. I would probably have to do this by once per frame to reflect the cycled maintaining a list of which texture names are paletted textures and then iterate through them once per frame.



