* the palette shader was not bound. * the palette textures were not bound. * palette mode still used regular lighting on top of the palette emulation This works a lot better than before but is still not complete.
This is #ifdef guarded because GZDoom uses the same code base but has no use for this feature.