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/gpencil | |
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/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_fill.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/gpencil_fill.c b/source/blender/editors/gpencil/gpencil_fill.c index 168693ff517..35bd44b88f9 100644 --- a/source/blender/editors/gpencil/gpencil_fill.c +++ b/source/blender/editors/gpencil/gpencil_fill.c @@ -352,8 +352,7 @@ static bool gpencil_render_offscreen(tGPDfill *tgpf) round_v2i_v2fl(tgpf->center, center); char err_out[256] = "unknown"; - GPUOffScreen *offscreen = GPU_offscreen_create( - tgpf->sizex, tgpf->sizey, 0, true, false, err_out); + GPUOffScreen *offscreen = GPU_offscreen_create(tgpf->sizex, tgpf->sizey, true, false, err_out); if (offscreen == NULL) { printf("GPencil - Fill - Unable to create fill buffer\n"); return false; |