nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gamnit: intro and use indirection to bind the screen framebuffer
[nit.git]
/
lib
/
gamnit
/
depth
/
shadow.nit
diff --git
a/lib/gamnit/depth/shadow.nit
b/lib/gamnit/depth/shadow.nit
index
75178f5
..
2bdc3ee
100644
(file)
--- a/
lib/gamnit/depth/shadow.nit
+++ b/
lib/gamnit/depth/shadow.nit
@@
-112,7
+112,7
@@
redef class App
end
# Take down, bring back default values
- glBindFramebuffer(gl_FRAMEBUFFER, shadow_context.screen_framebuffer)
+ bind_screen_framebuffer shadow_context.screen_framebuffer
glColorMask(true, true, true, true)
end