Skip to content

Commit 32c5ac0

Browse files
committed
Fix #3290
- Mostly remove the duplication between main.cpp's init and irr_driver.cpp's applyResolutionSettings by means of a new function - Add a new function to ParticleKindManager to preload explosions. - Increase the length of the function separators in irr_driver.cpp from 80 columns to 96 columns - Remove a pointless define guard (the entire function was wrapped in the same define guard) - Add a comment about the effect of the HQ texture setting
1 parent 2d0a96e commit 32c5ac0

File tree

6 files changed

+131
-153
lines changed

6 files changed

+131
-153
lines changed

src/graphics/graphical_presets.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ namespace GraphicalPresets
179179
// --------------------------------------------------------------------------------------------
180180
int getImageQuality()
181181
{
182+
// If high definition texture is true, the max texture size is 2048. Else, it's 512.
182183
if (UserConfigParams::m_anisotropic == 4 &&
183184
(UserConfigParams::m_high_definition_textures & 0x01) == 0x00 &&
184185
UserConfigParams::m_hq_mipmap == false)

0 commit comments

Comments
 (0)