From 6f5f441ea6ee4870832fd59218ef6b7e4e6df062 Mon Sep 17 00:00:00 2001 From: codeimp Date: Sun, 3 May 2009 20:05:08 +0000 Subject: [PATCH] @ Removed redundant ApplySettings() on shader used in visual mode RenderSinglePass() --- Source/Core/Rendering/Renderer3D.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/Core/Rendering/Renderer3D.cs b/Source/Core/Rendering/Renderer3D.cs index f5b9673d..b5cba0bb 100644 --- a/Source/Core/Rendering/Renderer3D.cs +++ b/Source/Core/Rendering/Renderer3D.cs @@ -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)