diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-06-03 00:44:14 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-06-03 00:44:22 +0300 |
commit | 650dedfd101bb809aa8cc3976286c43aba3a2366 (patch) | |
tree | 88b3ea9ba59a23277cceb3f4b7839fd9d3527334 /source/blender/draw | |
parent | a1f9eebc0b5f0e9a5683ecfcb0e79bac74d1ca14 (diff) |
Cleanup: GPUTexture: Remove uneeded bind
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_antialiasing.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_antialiasing.c b/source/blender/draw/engines/gpencil/gpencil_antialiasing.c index 4dd5e3b2da1..8955240c549 100644 --- a/source/blender/draw/engines/gpencil/gpencil_antialiasing.c +++ b/source/blender/draw/engines/gpencil/gpencil_antialiasing.c @@ -78,13 +78,8 @@ void GPENCIL_antialiasing_init(struct GPENCIL_Data *vedata) false, NULL); - GPU_texture_bind(txl->smaa_search_tx, 0); GPU_texture_filter_mode(txl->smaa_search_tx, true); - GPU_texture_unbind(txl->smaa_search_tx); - - GPU_texture_bind(txl->smaa_area_tx, 0); GPU_texture_filter_mode(txl->smaa_area_tx, true); - GPU_texture_unbind(txl->smaa_area_tx); } { |