From: Alexis Laferrière Date: Wed, 20 Dec 2017 21:22:20 +0000 (-0500) Subject: gamnit: don't check status of the FBO at 0, breaks on iOS X-Git-Url: http://nitlanguage.org gamnit: don't check status of the FBO at 0, breaks on iOS Signed-off-by: Alexis Laferrière --- diff --git a/lib/gamnit/depth/shadow.nit b/lib/gamnit/depth/shadow.nit index 2bdc3ee..4dcae8c 100644 --- 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 glCheckFramebufferStatus(gl_FRAMEBUFFER) == gl_FRAMEBUFFER_COMPLETE # Array buffer buffer_array = glGenBuffers(1).first