diff options
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_draw.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index 5f029e840d3..6235f994272 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -1688,7 +1688,6 @@ ImBuf *ED_view3d_draw_offscreen_imbuf(Depsgraph *depsgraph, int sizey, uint flag, int alpha_mode, - int samples, const char *viewname, /* output vars */ GPUOffScreen *ofs, @@ -1717,7 +1716,7 @@ ImBuf *ED_view3d_draw_offscreen_imbuf(Depsgraph *depsgraph, if (own_ofs) { /* bind */ - ofs = GPU_offscreen_create(sizex, sizey, samples, true, false, err_out); + ofs = GPU_offscreen_create(sizex, sizey, 0, true, false, err_out); if (ofs == NULL) { DRW_opengl_context_disable(); return NULL; @@ -1835,7 +1834,6 @@ ImBuf *ED_view3d_draw_offscreen_imbuf_simple(Depsgraph *depsgraph, uint flag, uint draw_flags, int alpha_mode, - int samples, const char *viewname, GPUOffScreen *ofs, char err_out[256]) @@ -1909,7 +1907,6 @@ ImBuf *ED_view3d_draw_offscreen_imbuf_simple(Depsgraph *depsgraph, height, flag, alpha_mode, - samples, viewname, ofs, err_out); |