Fix a rendering bug when trying to access the last color in the palette from a fragment shader.
Fix a rendering bug when trying to access the last color in the palette from a fragment shader.

mackron/openta,mackron/openta