diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2019-09-20 13:44:29 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2019-11-27 18:10:07 +0300 |
commit | 73fa066e8b3ca4e3ff4a34a328a12b575dfc5823 (patch) | |
tree | 4a659e5e24fc77735a5c6aeed12498d823126c49 /source/blender/makesrna | |
parent | 83d3a7c12d80d360268f36878e8ffc2832544b3c (diff) |
Cleanup: Remove BIF_gl.h
BIF_gl.h included hacks like redefining glew functions and a constant.
The named constant `GLA_PIXEL_OFS` has been moved to `GPU_viewport.h`
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D5860
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_image_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_image_api.c b/source/blender/makesrna/intern/rna_image_api.c index d167c650683..997a5f5ca45 100644 --- a/source/blender/makesrna/intern/rna_image_api.c +++ b/source/blender/makesrna/intern/rna_image_api.c @@ -31,8 +31,6 @@ #include "BLI_utildefines.h" #include "BLI_path_util.h" -#include "BIF_gl.h" - #include "RNA_define.h" #include "RNA_enum_types.h" @@ -52,6 +50,8 @@ # include "DNA_image_types.h" # include "DNA_scene_types.h" +# include "GPU_glew.h" + # include "MEM_guardedalloc.h" static void rna_ImagePackedFile_save(ImagePackedFile *imapf, Main *bmain, ReportList *reports) |