mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 22:14:53 +02:00
Make --debug-gl have zero runtime cost when absent
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
# vim:fileencoding=utf-8
|
||||
# License: GPL v3 Copyright: 2015, Kovid Goyal <kovid at kovidgoyal.net>
|
||||
|
||||
import sys
|
||||
sys.debug_gl = '--debug-kitty-gl' in sys.argv
|
||||
|
||||
from kitty.main import main
|
||||
from kitty.main import main # noqa
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user