Eevee: Fix black background

This commit is contained in:
Clément Foucault
2017-04-18 23:44:59 +02:00
parent 9a5b379374
commit b3edd94e42

View File

@@ -454,8 +454,9 @@ static void EEVEE_draw_scene(void *vedata)
/* Clear Depth */
/* TODO do background */
float clearcol[4] = {0.0f, 0.0f, 0.0f, 1.0f};
DRW_framebuffer_clear(true, true, false, clearcol, 1.0f);
// float clearcol[4] = {0.0f, 0.0f, 0.0f, 1.0f};
// DRW_framebuffer_clear(true, true, false, clearcol, 1.0f);
DRW_draw_background();
DRW_draw_pass(psl->depth_pass);
DRW_draw_pass(psl->depth_pass_cull);