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.
This commit is contained in:
2020-03-06 12:08:03 +01:00
parent 9fa29fe765
commit 297261eb90
16 changed files with 232 additions and 118 deletions

View File

@@ -105,6 +105,7 @@
#include "ED_outliner.h"
#include "ED_screen.h"
#include "ED_view3d.h"
#include "ED_view3d_offscreen.h"
#include "ED_util.h"
#include "ED_undo.h"