mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-18 22:41:46 +00:00
@ Removed redundant ApplySettings() on shader used in visual mode RenderSinglePass()
This commit is contained in:
parent
634efc6ee4
commit
6f5f441ea6
1 changed files with 0 additions and 2 deletions
|
@ -543,7 +543,6 @@ namespace CodeImp.DoomBuilder.Rendering
|
|||
// Apply texture
|
||||
graphics.Device.SetTexture(0, curtexture.Texture);
|
||||
graphics.Shaders.World3D.Texture1 = curtexture.Texture;
|
||||
graphics.Shaders.World3D.ApplySettings();
|
||||
|
||||
// Go for all geometry that uses this texture
|
||||
VisualSector sector = null;
|
||||
|
@ -625,7 +624,6 @@ namespace CodeImp.DoomBuilder.Rendering
|
|||
// Apply texture
|
||||
graphics.Device.SetTexture(0, curtexture.Texture);
|
||||
graphics.Shaders.World3D.Texture1 = curtexture.Texture;
|
||||
graphics.Shaders.World3D.ApplySettings();
|
||||
|
||||
// Render all things with this texture
|
||||
foreach(VisualThing t in group.Value)
|
||||
|
|
Loading…
Reference in a new issue