diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-07-02 18:28:30 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-07-02 18:28:41 +0300 |
commit | 35481fde40c78e004230d7909e7b7d83438cc64e (patch) | |
tree | 639b68a64d33358749333f7dbdfd6829c7b06b9b /source/blender/editors/space_view3d | |
parent | a4fe8ef236b65210ef04945be7f3936757015b7f (diff) |
GPUOffScreen: Remove the sample parameter
This is because the DRW module is no longer compatible with drawing using
MSAA.
This also change the Python API.
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index b3165c9fc78..6f7d815c33a 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -1888,7 +1888,7 @@ ImBuf *ED_view3d_draw_offscreen_imbuf(Depsgraph *depsgraph, if (own_ofs) { /* bind */ - ofs = GPU_offscreen_create(sizex, sizey, 0, true, false, err_out); + ofs = GPU_offscreen_create(sizex, sizey, true, false, err_out); if (ofs == NULL) { DRW_opengl_context_disable(); return NULL; |