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/gpu | |
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/gpu')
-rw-r--r-- | source/blender/gpu/GPU_viewport.h | 1 | ||||
-rw-r--r-- | source/blender/gpu/intern/gpu_viewport.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/gpu/GPU_viewport.h b/source/blender/gpu/GPU_viewport.h index 4bbcb6a4335..e692262358b 100644 --- a/source/blender/gpu/GPU_viewport.h +++ b/source/blender/gpu/GPU_viewport.h @@ -32,6 +32,7 @@ #include "GPU_texture.h" #define GPU_INFO_SIZE 512 /* IMA_MAX_RENDER_TEXT */ +#define GLA_PIXEL_OFS 0.375f typedef struct GPUViewport GPUViewport; diff --git a/source/blender/gpu/intern/gpu_viewport.c b/source/blender/gpu/intern/gpu_viewport.c index 615af57c1bd..519cd918b53 100644 --- a/source/blender/gpu/intern/gpu_viewport.c +++ b/source/blender/gpu/intern/gpu_viewport.c @@ -29,8 +29,6 @@ #include "BLI_rect.h" #include "BLI_memblock.h" -#include "BIF_gl.h" - #include "DNA_vec_types.h" #include "DNA_userdef_types.h" |