diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-03-09 20:27:27 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-03-09 20:27:27 +0300 |
commit | e2471ea96adcd4f0b183f684c19833258dd69b2d (patch) | |
tree | 5600b2d37ea09c78f39c3bd56907773ff09465fd /source/blender/gpu | |
parent | 219937fc5dbde485bdd50feaccf496e26c63df40 (diff) |
Attempt to fix T43919, avoid using GPU_framebuffer_slots_bind just in
case a system does not support drawing to many framebuffers.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_extensions.c | 2 |
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); } |