Stop colormap being applied to 2D drawing

This commit is contained in:
Emile Belanger 2021-06-12 16:57:22 +01:00
parent b7d1f39eba
commit 1457194e01

View file

@ -165,6 +165,9 @@ sector_t* RenderViewpoint(FRenderViewpoint& mainvp, AActor* camera, IntRect* bou
di->ProcessScene(toscreen);
// Reset colormap so 2D drawing isn't affected
RenderState.SetSpecialColormap(CM_DEFAULT, 1);
if (mainview)
{
PostProcess.Clock();