From 297261eb906c56c7decf4401e6a3e06cec1691e8 Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Fri, 6 Mar 2020 12:08:03 +0100 Subject: CodeCleanup: Added enums to opengl render functions Motivation the functions get 3 different kind of flag parameters (ImBuf, DrawType, OffscreenRendering) the naming of the flags were not clear, leading to mistakes and unnecessary time spend debugging. --- source/blender/editors/space_sequencer/space_sequencer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/blender/editors/space_sequencer') diff --git a/source/blender/editors/space_sequencer/space_sequencer.c b/source/blender/editors/space_sequencer/space_sequencer.c index 1e2470c1866..d225c70b56b 100644 --- a/source/blender/editors/space_sequencer/space_sequencer.c +++ b/source/blender/editors/space_sequencer/space_sequencer.c @@ -38,10 +38,12 @@ #include "BKE_lib_id.h" #include "BKE_screen.h" #include "BKE_sequencer.h" +#include "BKE_sequencer_offscreen.h" #include "ED_space_api.h" #include "ED_screen.h" -#include "ED_view3d.h" /* only for sequencer view3d drawing callback */ +#include "ED_view3d.h" +#include "ED_view3d_offscreen.h" /* only for sequencer view3d drawing callback */ #include "WM_api.h" #include "WM_types.h" -- cgit v1.2.3