Fix T58101 : Image empties are only rendering their border when using MSAA

This commit is contained in:
Clément Foucault 2018-12-02 20:11:23 +01:00
parent c44a203aa7
commit 756df74fca
Notes: blender-bot 2023-02-14 07:08:26 +01:00
Referenced by issue #58547, EEVEE Reflection plane probe does not work correctly in final render. The preview render okay.
Referenced by issue #58188, Extreme FPS loss (24x) between 2.79 and 2.8 with particle systems
Referenced by issue #58101, Image empties are only rendering their border when using OpenGL multisample > 2.
1 changed files with 2 additions and 2 deletions

View File

@ -2862,18 +2862,18 @@ static void OBJECT_draw_scene(void *vedata)
MULTISAMPLE_SYNC_ENABLE(dfbl, dtxl);
/* This needs to be drawn after the oultine */
DRW_draw_pass(stl->g_data->sgl.spot_shapes);
DRW_draw_pass(stl->g_data->sgl.bone_solid);
DRW_draw_pass(stl->g_data->sgl.bone_wire);
DRW_draw_pass(stl->g_data->sgl.bone_outline);
DRW_draw_pass(stl->g_data->sgl.non_meshes);
DRW_draw_pass(psl->particle);
DRW_draw_pass(stl->g_data->sgl.image_empties);
DRW_draw_pass(stl->g_data->sgl.bone_axes);
MULTISAMPLE_SYNC_DISABLE(dfbl, dtxl)
DRW_draw_pass(stl->g_data->sgl.image_empties);
if (DRW_state_is_fbo() && outline_calls > 0) {
DRW_stats_group_start("Outlines");