DRW: Fix Feedbackloop warning.

This commit is contained in:
Clément Foucault
2017-10-03 15:33:15 +02:00
parent 2bfa061a15
commit f40fa55b58

View File

@@ -2292,8 +2292,8 @@ void DRW_framebuffer_init(
if (!is_depth) {
++color_attachment;
}
GPU_framebuffer_texture_attach(*fb, *fbotex.tex, color_attachment, 0);
drw_texture_set_parameters(*fbotex.tex, fbotex.flag);
GPU_framebuffer_texture_attach(*fb, *fbotex.tex, color_attachment, 0);
}
}