mirror of
https://github.com/open-goal/jak-project
synced 2026-09-12 12:55:22 -04:00
fix weird interrupt lag from setting window size
This commit is contained in:
@@ -156,7 +156,9 @@
|
||||
)
|
||||
|
||||
(pc-set-fullscreen (-> obj display-mode) 0)
|
||||
(if (= 'windowed (-> obj display-mode))
|
||||
(if (and (= 'windowed (-> obj display-mode))
|
||||
(or (!= (-> obj win-width) (-> obj real-width))
|
||||
(!= (-> obj win-height) (-> obj real-height))))
|
||||
(pc-set-window-size (max 320 (-> obj win-width)) (max 240 (-> obj win-height))))
|
||||
|
||||
(pc-discord-rpc-set (if (-> obj discord-rpc?) 1 0))
|
||||
|
||||
Reference in New Issue
Block a user