diff --git a/engine b/engine index 7db5304..628f8bc 160000 --- a/engine +++ b/engine @@ -1 +1 @@ -Subproject commit 7db5304d40013c7e4631b66ab5199f9bbd109285 +Subproject commit 628f8bcaa4eb3c4da5a534b55d58218b894b9822 diff --git a/game/game.py b/game/game.py index b79ae50..540174e 100644 --- a/game/game.py +++ b/game/game.py @@ -53,7 +53,7 @@ def main(): events = Events(display) mouse = Mouse(events, wheel = 60, wheel_min = 20) keyboard = Keyboard(events) - render_initialize() + render_initialize(__debug__) terrain_shader = shader.load('terrain', 'common') tests_shader = shader.load('tests', 'common') sky_shader = shader.load('sky') @@ -269,13 +269,13 @@ def main(): # for _ in range(10000): # current_time = 0 # time.monotonic() - start_time - # Draw * 9999 : min = 0.16 , max = 1.86 , avg = 0.23 ms - # Draw * 9999 : min = 0.16 , max = 2.07 , avg = 0.23 ms - # Draw * 9999 : min = 0.15 , max = 2.12 , avg = 0.23 ms + # Draw * 9999 : min = 0.14 , max = 0.86 , avg = 0.2 ms + # Draw * 9999 : min = 0.14 , max = 0.93 , avg = 0.2 ms + # Draw * 9999 : min = 0.14 , max = 0.77 , avg = 0.2 ms - # Frame * 9999 : min = 0.23 , max = 2.05 , avg = 0.37 ms - # Frame * 9999 : min = 0.23 , max = 2.20 , avg = 0.36 ms - # Frame * 9999 : min = 0.22 , max = 2.33 , avg = 0.36 ms + # Frame * 9999 : min = 0.20 , max = 0.95 , avg = 0.34 ms + # Frame * 9999 : min = 0.21 , max = 1.03 , avg = 0.34 ms + # Frame * 9999 : min = 0.21 , max = 1.09 , avg = 0.34 ms print("Quitting...") del tests_batch