diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-10-14 04:39:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-10-14 04:50:03 +0300 |
commit | 56021cad31c2cc17aa5abbbad1bf789563f530af (patch) | |
tree | bdce1c58724d943d38ede2096ffe43ed16353370 /source/blender/editors/sculpt_paint/paint_image_proj.c | |
parent | 53d73c51a76577b8b9bb32fd08a967560353ab47 (diff) |
Support for multi-sample sequencer GL render
OpenGL sequencer render now uses a single fbo for all rendering.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_image_proj.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image_proj.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c index 73a3cce50dc..565f8a51610 100644 --- a/source/blender/editors/sculpt_paint/paint_image_proj.c +++ b/source/blender/editors/sculpt_paint/paint_image_proj.c @@ -5399,7 +5399,10 @@ static int texture_paint_image_from_view_exec(bContext *C, wmOperator *op) if (w > maxsize) w = maxsize; if (h > maxsize) h = maxsize; - ibuf = ED_view3d_draw_offscreen_imbuf(scene, CTX_wm_view3d(C), CTX_wm_region(C), w, h, IB_rect, false, R_ALPHAPREMUL, NULL, err_out); + ibuf = ED_view3d_draw_offscreen_imbuf( + scene, CTX_wm_view3d(C), CTX_wm_region(C), + w, h, IB_rect, false, R_ALPHAPREMUL, 0, NULL, + NULL, err_out); if (!ibuf) { /* Mostly happens when OpenGL offscreen buffer was failed to create, */ /* but could be other reasons. Should be handled in the future. nazgul */ |