ref: 14fc72bbad5b17b824fdf0868d98db28eb6352f7
parent: b5db4a7536f093f0657d254b06910e491b0b5fad
author: Simon Howard <fraggle@soulsphere.org>
date: Thu Sep 14 18:05:38 EDT 2017
video: Fix out-of-date comment. Thanks Fabian.
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -580,10 +580,11 @@
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)
{