- let GLInstance::Draw set the palette indexing mode.

This can be trivially decided based on the texture type, so there's really no need to let the higher level code deal with this.
This commit is contained in:
Christoph Oelckers 2019-10-10 21:24:09 +02:00
parent 36ca38258e
commit c588cd499a
6 changed files with 11 additions and 39 deletions

View file

@ -1136,8 +1136,6 @@ int32_t polymost_voxdraw(voxmodel_t *m, tspriteptr_t const tspr)
GLInterface.BindTexture(0, m->texid[globalpal]);
GLInterface.UsePaletteIndexing(false);
auto data = GLInterface.AllocVertices(m->qcnt * 4);
auto vt = data.second;