summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wimmel_gl.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/wimmel_gl.c b/wimmel_gl.c
index 939cc9a..631be54 100644
--- a/wimmel_gl.c
+++ b/wimmel_gl.c
@@ -301,13 +301,9 @@ init_gl(int argc, char **argv)
glBindFramebuffer(GL_FRAMEBUFFER, fb);
glBindRenderbuffer(GL_RENDERBUFFER, rb);
- glFramebufferRenderbuffer(GL_FRAMEBUFFER,
- GL_COLOR_ATTACHMENT0,
- GL_RENDERBUFFER,
- rb);
- glRenderbufferStorage(GL_RENDERBUFFER,
- GL_RGBA4,
- width, height);
+ glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0,
+ GL_RENDERBUFFER, rb);
+ glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA4, width, height);
if (glCheckFramebufferStatus(GL_FRAMEBUFFER) !=
GL_FRAMEBUFFER_COMPLETE) {