gamnit: remove duplicated perf stats in shadow
authorAlexis Laferrière <alexis.laf@xymus.net>
Sat, 11 Nov 2017 14:17:09 +0000 (09:17 -0500)
committerAlexis Laferrière <alexis.laf@xymus.net>
Tue, 21 Nov 2017 19:41:17 +0000 (14:41 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/gamnit/depth/shadow.nit

index 213b461..aa0f137 100644 (file)
@@ -84,8 +84,6 @@ redef class App
                var light = app.light
                if not light isa LightCastingShadows then return
 
-               perf_clock_shadow.lapse
-
                # Make sure there's no errors pending
                assert glGetError == gl_NO_ERROR
 
@@ -116,8 +114,6 @@ redef class App
                # Take down, bring back default values
                glBindFramebuffer(gl_FRAMEBUFFER, shadow_context.screen_framebuffer)
                glColorMask(true, true, true, true)
-
-               perfs["gamnit shadows prep"].add perf_clock_shadow.lapse
        end
 
        # ---