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/GPU_viewport.h | |
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/GPU_viewport.h')
-rw-r--r-- | source/blender/gpu/GPU_viewport.h | 1 |
1 files changed, 1 insertions, 0 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; |