- fixed: light mode from mapinfo had no effect
https://forum.zdoom.org/viewtopic.php?t=64997
This commit is contained in:
parent
b6ada166fc
commit
7e901055ea
3 changed files with 8 additions and 5 deletions
|
|
@ -78,7 +78,7 @@ void HWViewpointBuffer::Set2D(FRenderState &di, int width, int height)
|
|||
if (width != m2DWidth || height != m2DHeight)
|
||||
{
|
||||
HWViewpointUniforms matrices;
|
||||
matrices.SetDefaults();
|
||||
matrices.SetDefaults(nullptr);
|
||||
matrices.mProjectionMatrix.ortho(0, (float)width, (float)height, 0, -1.0f, 1.0f);
|
||||
matrices.CalcDependencies();
|
||||
mBuffer->Map();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue