From 7e66c2787c79349c053988ffcd536e949e48b1f2 Mon Sep 17 00:00:00 2001 From: baldurk Date: Sat, 9 May 2015 16:23:37 +0200 Subject: [PATCH] Raise limit on zoom to 25600% so manual zoom can be higher. Refs #137 * Still leaving some upper limit so that typos don't result in a zoom level of something crazy. * This also allows 'fit to texture' to zoom in more, but I'm OK with that. --- renderdocui/Windows/TextureViewer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdocui/Windows/TextureViewer.cs b/renderdocui/Windows/TextureViewer.cs index cae08e714..f3340db5a 100644 --- a/renderdocui/Windows/TextureViewer.cs +++ b/renderdocui/Windows/TextureViewer.cs @@ -2093,7 +2093,7 @@ namespace renderdocui.Windows float prevScale = m_TexDisplay.scale; - m_TexDisplay.scale = Math.Max(0.1f, Math.Min(8.0f, s)); + m_TexDisplay.scale = Math.Max(0.1f, Math.Min(256.0f, s)); FetchTexture tex = CurrentTexture;