mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 02:01:31 +00:00
- tweaked light mode for weapon lighting and avoiding getting too dark.
This commit is contained in:
parent
aa7af0711a
commit
07eeb147ab
5 changed files with 28 additions and 20 deletions
|
@ -135,6 +135,7 @@ void RenderViewpoint(FRenderViewpoint& mainvp, IntRect* bounds, float fov, float
|
|||
}
|
||||
|
||||
auto di = HWDrawInfo::StartDrawInfo(nullptr, mainvp, nullptr);
|
||||
di->SetVisibility();
|
||||
auto& vp = di->Viewpoint;
|
||||
vp = mainvp;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue