nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf88e8a
)
gamnit: remove duplicated perf stats in shadow
author
Alexis Laferrière
<alexis.laf@xymus.net>
Sat, 11 Nov 2017 14:17:09 +0000
(09:17 -0500)
committer
Alexis 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
patch
|
blob
|
history
diff --git
a/lib/gamnit/depth/shadow.nit
b/lib/gamnit/depth/shadow.nit
index
213b461
..
aa0f137
100644
(file)
--- a/
lib/gamnit/depth/shadow.nit
+++ b/
lib/gamnit/depth/shadow.nit
@@
-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
# ---