- cleaned out the coordinate code in FMaterial.

This commit is contained in:
Christoph Oelckers 2020-04-15 00:48:04 +02:00
commit 31035a6cea
8 changed files with 16 additions and 81 deletions

View file

@ -298,7 +298,7 @@ void FGLRenderState::Apply()
void FGLRenderState::ApplyMaterial(FMaterial *mat, int clampmode, int translation, int overrideshader)
{
if (mat->isHardwareCanvas())
if (mat->Source()->isHardwareCanvas())
{
mTempTM = TM_OPAQUE;
}