mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 06:41:41 +00:00
Stop colormap being applied to 2D drawing
This commit is contained in:
parent
b7d1f39eba
commit
1457194e01
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue