soc-2008-mxcurioni: merge-repair with trunk rev 15456
[blender.git] / source / blender / freestyle / intern / app_blender / api.cpp
index 737ae0c66256ae9c0ac7bd077f2072f988a826c5..36dac8218981b1733df0f11ad042fe907a548378 100644 (file)
@@ -146,7 +146,7 @@ extern "C" {
                        glGenRenderbuffersEXT(2, renderbuffers);
                        
                        glBindRenderbufferEXT(GL_RENDERBUFFER_EXT,      renderbuffers[0]);
-                       glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGBA, re->winx, re->winy);
+                       glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGBA16F_ARB, re->winx, re->winy);
                        glFramebufferRenderbufferEXT(GL_FRAMEBUFFER_EXT, GL_COLOR_ATTACHMENT0_EXT, GL_RENDERBUFFER_EXT, renderbuffers[0]);
                        
                        glBindRenderbufferEXT(GL_RENDERBUFFER_EXT, renderbuffers[1]);