Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2015-03-09 20:27:27 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-03-09 20:27:27 +0300
commite2471ea96adcd4f0b183f684c19833258dd69b2d (patch)
tree5600b2d37ea09c78f39c3bd56907773ff09465fd
parent219937fc5dbde485bdd50feaccf496e26c63df40 (diff)
Attempt to fix T43919, avoid using GPU_framebuffer_slots_bind just in
case a system does not support drawing to many framebuffers.
-rw-r--r--source/blender/gpu/intern/gpu_extensions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c
index f9bdaad832a..63f0bc37acf 100644
--- a/source/blender/gpu/intern/gpu_extensions.c
+++ b/source/blender/gpu/intern/gpu_extensions.c
@@ -1345,7 +1345,7 @@ void GPU_offscreen_bind(GPUOffScreen *ofs, bool save)
{
glDisable(GL_SCISSOR_TEST);
if (save)
- GPU_framebuffer_slots_bind(ofs->fb, 0);
+ GPU_texture_bind_as_framebuffer(ofs->color);
else {
GPU_framebuffer_bind_no_save(ofs->fb, 0);
}