diff options
author | Stephane Marchesin <stephane.marchesin@gmail.com> | 2010-04-19 23:00:07 -0700 |
---|---|---|
committer | Stephane Marchesin <stephane.marchesin@gmail.com> | 2010-04-19 23:00:07 -0700 |
commit | 305e303f0bf52a8594d7aea98110fbf7744ceb07 (patch) | |
tree | b9b723a13abad98a00116ee9d8059a1621077bb4 | |
parent | a345d813a21a665c091a2c8cea03c7400e934656 (diff) |
GL: more GL1.X-ification.
-rw-r--r-- | render-gl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render-gl.c b/render-gl.c index dd770af..1b676be 100644 --- a/render-gl.c +++ b/render-gl.c @@ -276,7 +276,7 @@ error(); void render_begin(void) { pglBindFramebuffer(GL_FRAMEBUFFER_EXT, render_fb); - glDrawBuffer(GL_COLOR_ATTACHMENT0); + glDrawBuffer(GL_COLOR_ATTACHMENT0_EXT); glClearColor(0, 0, 0, 0); glClear(GL_COLOR_BUFFER_BIT); |