diff options
-rw-r--r-- | source/blender/gpu/intern/gpu_extensions.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c index 02e57e4b505..e1dff03d500 100644 --- a/source/blender/gpu/intern/gpu_extensions.c +++ b/source/blender/gpu/intern/gpu_extensions.c @@ -1455,7 +1455,10 @@ GPUOffScreen *GPU_offscreen_create(int width, int height, int samples, char err_ /* Only needed for GPU_offscreen_read_pixels. * We could add an arg if we intend to use multi-samle * offscreen buffers w/o reading their pixels */ - !GLEW_EXT_framebuffer_blit) + !GLEW_EXT_framebuffer_blit || + /* This is required when blitting from a multi-sampled buffers, + * even though we're not scaling. */ + !GLEW_EXT_framebuffer_multisample_blit_scaled) { samples = 0; } |