- fixed: Voxels did not explicitly set their palette and took the last one set.

This commit is contained in:
Christoph Oelckers 2020-02-10 22:05:53 +01:00
parent 39a9e3cd8b
commit e2457d104b

View file

@ -1151,6 +1151,7 @@ int32_t polymost_voxdraw(voxmodel_t *m, tspriteptr_t const tspr)
htex = *pTex;
}
GLInterface.SetPalswap(globalpal);
GLInterface.BindTexture(0, htex, -1);
GLInterface.UseBrightmaps(false);
GLInterface.UseGlowMapping(false);