Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <j.bakker@atmind.nl>2019-09-20 13:44:29 +0300
committerJeroen Bakker <j.bakker@atmind.nl>2019-11-27 18:10:07 +0300
commit73fa066e8b3ca4e3ff4a34a328a12b575dfc5823 (patch)
tree4a659e5e24fc77735a5c6aeed12498d823126c49 /source/blender/gpu/GPU_viewport.h
parent83d3a7c12d80d360268f36878e8ffc2832544b3c (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.h1
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;