Skip to content

Commit 9be084a

Browse files
committed
Fix max_tex_size with tex_height overflow + BUILD
1 parent 47eeab6 commit 9be084a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/gui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ def refresh_fonts(self):
326326
tex_width, tex_height, pixels = imgui.io.fonts.get_tex_data_as_rgba32()
327327
except SystemError:
328328
tex_height = 1
329-
max_size = 0
329+
max_tex_size = 0
330330
if tex_height > max_tex_size:
331331
globals.settings.interface_scaling = 1.0
332332
async_thread.run(db.update_settings("interface_scaling"))

0 commit comments

Comments
 (0)