From 73fa066e8b3ca4e3ff4a34a328a12b575dfc5823 Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Fri, 20 Sep 2019 12:44:29 +0200 Subject: 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 --- source/blender/makesrna/intern/rna_image_api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/makesrna/intern/rna_image_api.c') 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) -- cgit v1.2.3