diff options
Diffstat (limited to 'source/blender/draw/modes/edit_curve_mode.c')
-rw-r--r-- | source/blender/draw/modes/edit_curve_mode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/draw/modes/edit_curve_mode.c b/source/blender/draw/modes/edit_curve_mode.c index 02eef31ba45..f5db49877a7 100644 --- a/source/blender/draw/modes/edit_curve_mode.c +++ b/source/blender/draw/modes/edit_curve_mode.c @@ -285,9 +285,9 @@ static void EDIT_CURVE_draw_scene(void *vedata) DefaultFramebufferList *dfbl = DRW_viewport_framebuffer_list_get(); DefaultTextureList *dtxl = DRW_viewport_texture_list_get(); - UNUSED_VARS(fbl, dtxl); + UNUSED_VARS(fbl); - MULTISAMPLE_SYNC_ENABLE(dfbl) + MULTISAMPLE_SYNC_ENABLE(dfbl, dtxl) /* Show / hide entire passes, swap framebuffers ... whatever you fancy */ /* @@ -303,7 +303,7 @@ static void EDIT_CURVE_draw_scene(void *vedata) DRW_draw_pass(psl->overlay_edge_pass); DRW_draw_pass(psl->overlay_vert_pass); - MULTISAMPLE_SYNC_DISABLE(dfbl) + MULTISAMPLE_SYNC_DISABLE(dfbl, dtxl) /* If you changed framebuffer, double check you rebind * the default one with its textures attached before finishing */ |