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

@@ -19,7 +19,9 @@ set(INC
.
../../blenkernel
../../blenlib
../../editors/include
../../gpu
../../imbuf
../../makesdna
../../../../intern/glew-mx
../../../../intern/guardedalloc

View File

@@ -43,7 +43,8 @@
#include "GPU_framebuffer.h"
#include "GPU_texture.h"
#include "../editors/include/ED_view3d.h"
#include "ED_view3d.h"
#include "ED_view3d_offscreen.h"
#include "../mathutils/mathutils.h"