- fixed palette translucency after aborting movie playback.

This commit is contained in:
Christoph Oelckers 2019-12-25 17:13:10 +01:00
parent 120a985b98
commit 414201e741
2 changed files with 2 additions and 6 deletions

View file

@ -533,13 +533,11 @@ int32_t Anim_Play(const char *fn)
}
++i;
} while (i < numframes);
GLInterface.EnableNonTransparent255(false);
end_anim_restore_gl:
#ifdef USE_OPENGL
GLInterface.EnableNonTransparent255(false);
hw_texfilter = ogltexfiltermode;
gltexapplyprops();
#endif
end_anim:
inputState.ClearAllInput();
anim->animbuf = nullptr;

View file

@ -567,13 +567,11 @@ int32_t Anim_Play(const char *fn)
++i;
} while (i < numframes);
GLInterface.EnableNonTransparent255(false);
end_anim_restore_gl:
#ifdef USE_OPENGL
GLInterface.EnableNonTransparent255(false);
hw_texfilter = ogltexfiltermode;
gltexapplyprops();
#endif
end_anim:
inputState.ClearAllInput();
anim->animbuf = nullptr;