commit 14fc72bbad5b17b824fdf0868d98db28eb6352f7
Author: Simon Howard <fraggle@soulsphere.org>
AuthorDate: Thu Sep 14 22:05:38 2017 -0400
Commit: Simon Howard <fraggle@soulsphere.org>
CommitDate: Thu Sep 14 22:05:38 2017 -0400
video: Fix out-of-date comment.
Thanks Fabian.
---
src/i_video.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/i_video.c b/src/i_video.c
index a8bf130a..767018a7 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -580,10 +580,11 @@ static void LimitTextureSize(int *w_upscale, int *h_upscale)
rinfo.max_texture_width, rinfo.max_texture_height);
}
- // We limit the amount of texture memory used for the intermediate buffer.
- // By default we limit to 1600x1200, which gives pretty good results, but
- // we allow the user to override this and use more if they want to use
- // even more (or less, if their graphics card can't handle it).
+ // We limit the amount of texture memory used for the intermediate buffer,
+ // since beyond a certain point there are diminishing returns. Also,
+ // depending on the hardware there may be performance problems with very
+ // huge textures, so the user can use this to reduce the maximum texture
+ // size if desired.
if (max_scaling_buffer_pixels < SCREENWIDTH * SCREENHEIGHT)
{