nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
46d6e91
)
gamnit: don't check status of the FBO at 0, breaks on iOS
author
Alexis Laferrière
<alexis.laf@xymus.net>
Wed, 20 Dec 2017 21:22:20 +0000
(16:22 -0500)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Sun, 14 Jan 2018 15:23:38 +0000
(10:23 -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
2bdc3ee
..
4dcae8c
100644
(file)
--- a/
lib/gamnit/depth/shadow.nit
+++ b/
lib/gamnit/depth/shadow.nit
@@
-218,7
+218,6
@@
private class ShadowContext
assert gl_error == gl_NO_ERROR else print_error gl_error
resize(display, shadow_resolution)
assert gl_error == gl_NO_ERROR else print_error gl_error
resize(display, shadow_resolution)
- assert glCheckFramebufferStatus(gl_FRAMEBUFFER) == gl_FRAMEBUFFER_COMPLETE
# Array buffer
buffer_array = glGenBuffers(1).first
# Array buffer
buffer_array = glGenBuffers(1).first