diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-04-05 11:30:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-04-05 11:43:59 +0300 |
commit | a4fac21fc5a2e5e3c816884da6499f931dfe6dd1 (patch) | |
tree | 4b99909176b694a7d6985f94f5a724ddb60a6bf5 /source/blender/editors/sculpt_paint | |
parent | e9bb018a4aea1b4aeb692cdadce158496a270e32 (diff) |
Cleanup: Move imm_draw utils into own file
These were in BIF_glutil which is documented to be removed,
so best not define new API's there.
Diffstat (limited to 'source/blender/editors/sculpt_paint')
5 files changed, 2 insertions, 9 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_cursor.c b/source/blender/editors/sculpt_paint/paint_cursor.c index 0e18bddc45f..e97f457494c 100644 --- a/source/blender/editors/sculpt_paint/paint_cursor.c +++ b/source/blender/editors/sculpt_paint/paint_cursor.c @@ -53,13 +53,12 @@ #include "WM_api.h" -#include "BIF_glutil.h" - #include "IMB_imbuf_types.h" #include "ED_view3d.h" #include "GPU_immediate.h" +#include "GPU_immediate_util.h" #include "GPU_matrix.h" #include "GPU_basic_shader.h" diff --git a/source/blender/editors/sculpt_paint/paint_hide.c b/source/blender/editors/sculpt_paint/paint_hide.c index 5b5d91e8566..d7c3b7377da 100644 --- a/source/blender/editors/sculpt_paint/paint_hide.c +++ b/source/blender/editors/sculpt_paint/paint_hide.c @@ -52,8 +52,6 @@ #include "BKE_paint.h" #include "BKE_subsurf.h" -#include "BIF_glutil.h" - #include "WM_api.h" #include "WM_types.h" diff --git a/source/blender/editors/sculpt_paint/paint_image.c b/source/blender/editors/sculpt_paint/paint_image.c index 7ea1cac045c..234220cacc8 100644 --- a/source/blender/editors/sculpt_paint/paint_image.c +++ b/source/blender/editors/sculpt_paint/paint_image.c @@ -81,7 +81,6 @@ #include "GPU_immediate.h" #include "BIF_gl.h" -#include "BIF_glutil.h" #include "IMB_colormanagement.h" diff --git a/source/blender/editors/sculpt_paint/paint_mask.c b/source/blender/editors/sculpt_paint/paint_mask.c index b4938e0f7d8..1ac40b0354e 100644 --- a/source/blender/editors/sculpt_paint/paint_mask.c +++ b/source/blender/editors/sculpt_paint/paint_mask.c @@ -35,8 +35,6 @@ #include "DNA_meshdata_types.h" #include "DNA_object_types.h" -#include "BIF_glutil.h" - #include "BLI_bitmap_draw_2d.h" #include "BLI_math_matrix.h" #include "BLI_math_geom.h" diff --git a/source/blender/editors/sculpt_paint/sculpt_uv.c b/source/blender/editors/sculpt_paint/sculpt_uv.c index d7a4ea9c950..578b4f8a234 100644 --- a/source/blender/editors/sculpt_paint/sculpt_uv.c +++ b/source/blender/editors/sculpt_paint/sculpt_uv.c @@ -56,6 +56,7 @@ #include "ED_mesh.h" #include "GPU_immediate.h" +#include "GPU_immediate_util.h" #include "WM_api.h" #include "WM_types.h" @@ -66,8 +67,6 @@ #include "paint_intern.h" #include "uvedit_intern.h" -#include "BIF_glutil.h" - #include "UI_view2d.h" #define MARK_BOUNDARY 1 |