Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2018-04-24 00:11:29 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-05-02 21:49:38 +0300
commita56561dcd28d5a8ee45948afb62cc7296c212a44 (patch)
treea07ec757465628dc60c932c83ae7ca76cb5ba865 /source/blender/draw/modes/edit_lattice_mode.c
parent33356b7be0ace84e1d0ab7235c68541939a7ab9c (diff)
DRW: Make use of new multisample resolve pass.
Diffstat (limited to 'source/blender/draw/modes/edit_lattice_mode.c')
-rw-r--r--source/blender/draw/modes/edit_lattice_mode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/draw/modes/edit_lattice_mode.c b/source/blender/draw/modes/edit_lattice_mode.c
index b3e5261e0a0..13c0d6660c7 100644
--- a/source/blender/draw/modes/edit_lattice_mode.c
+++ b/source/blender/draw/modes/edit_lattice_mode.c
@@ -227,9 +227,9 @@ static void EDIT_LATTICE_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 */
/*
@@ -244,7 +244,7 @@ static void EDIT_LATTICE_draw_scene(void *vedata)
DRW_draw_pass(psl->wire_pass);
DRW_draw_pass(psl->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 */