From d7299b12fd573bec4e50ec4337348d0f9fc7f9f3 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Tue, 14 Jul 2020 11:37:25 +1000 Subject: [PATCH] Change message from 'using nolimit mode is discouraged' to 'nolimit mode is pointless - it wastefully renders frames that you don't even see' tired of people telling others that they should be playing in nolimit mode --- src/AxisLinesRenderer.c | 2 +- src/Menus.c | 2 +- src/SelectionBox.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AxisLinesRenderer.c b/src/AxisLinesRenderer.c index dbd86cec8..7a23f19fc 100644 --- a/src/AxisLinesRenderer.c +++ b/src/AxisLinesRenderer.c @@ -29,7 +29,7 @@ void AxisLinesRenderer_Render(void) { Vec3 coords[5], pos; int i, count; - if (!AxisLinesRenderer_Enabled || Gfx.LostContext) return; + if (!AxisLinesRenderer_Enabled) return; /* Don't do it in a ContextRecreated handler, because we only want VB recreated if ShowAxisLines in on. */ if (!axisLines_vb) { axisLines_vb = Gfx_CreateDynamicVb(VERTEX_FORMAT_COLOURED, AXISLINES_NUM_VERTICES); diff --git a/src/Menus.c b/src/Menus.c index 48bf5e38d..7269ec00c 100644 --- a/src/Menus.c +++ b/src/Menus.c @@ -2560,7 +2560,7 @@ void GraphicsOptionsScreen_Show(void) { "&eVSync: &fNumber of frames rendered is at most the monitor's refresh rate.\n" \ "&e30/60/120/144 FPS: &fRenders 30/60/120/144 frames at most each second.\n" \ "&eNoLimit: &fRenders as many frames as possible each second.\n" \ - "&cUsing NoLimit mode is discouraged."; + "&cNoLimit is pointless - it wastefully renders frames that you don't even see!"; extDescs[3] = "&cNote: &eSmooth lighting is still experimental and can heavily reduce performance."; extDescs[4] = \ "&eNone: &fNo names of players are drawn.\n" \ diff --git a/src/SelectionBox.c b/src/SelectionBox.c index 9347e2fde..39e9fc2f4 100644 --- a/src/SelectionBox.c +++ b/src/SelectionBox.c @@ -171,7 +171,7 @@ void Selections_Render(void) { struct VertexColoured* data; Vec3 cameraPos; int i, count; - if (!selections_count || Gfx.LostContext) return; + if (!selections_count) return; /* TODO: Proper selection box sorting. But this is very difficult because we can have boxes within boxes, intersecting boxes, etc. Probably not worth it. */