mirror of
https://github.com/ZDoom/Raze.git
synced 2024-12-24 03:00:53 +00:00
- disable palette emulation when rendering weapons.
The 2D code cannot handle transparency well with it.
This commit is contained in:
parent
70087ebc12
commit
fe0581ed97
1 changed files with 1 additions and 0 deletions
|
@ -162,6 +162,7 @@ void RenderViewpoint(FRenderViewpoint& mainvp, IntRect* bounds, float fov, float
|
|||
}
|
||||
|
||||
screen->PostProcessScene(false, CM_DEFAULT, flash, []() {
|
||||
hw_int_useindexedcolortextures = false;
|
||||
Draw2D(&twodpsp, *screen->RenderState()); // draws the weapon sprites
|
||||
});
|
||||
PostProcess.Unclock();
|
||||
|
|
Loading…
Reference in a new issue