diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-03-15 14:01:00 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-03-15 21:14:40 +0100 |
commit | c047b202e7da75174eb5dd15c574922fabab20bc (patch) | |
tree | 9b4764a7c96dbf2e63331ec88beb80c58f04292c | |
parent | feada534a473233dcef2c2d0a2c2b41e81dbf9bf (diff) | |
download | cv-c047b202e7da75174eb5dd15c574922fabab20bc.tar.gz cv-c047b202e7da75174eb5dd15c574922fabab20bc.tar.bz2 cv-c047b202e7da75174eb5dd15c574922fabab20bc.zip |
wimmel_gl: Reduce newlines in gl framebuffer calls
-rw-r--r-- | wimmel_gl.c | 10 |
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) { |