diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-08-20 18:39:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-08-20 18:41:20 +0300 |
commit | 1b79d323d95567de4be595409b5994d993d5154b (patch) | |
tree | adfdbe11372baed0e6c5339995c1e17521333199 /source/blender/gpu/intern | |
parent | 4f881e0d974e051f22926680501f80913f6cb2d4 (diff) |
Cleanup: move gawain header out of GPU_matrix
Avoids requiring glew headers in Python API.
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r-- | source/blender/gpu/intern/gpu_matrix.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_matrix.c b/source/blender/gpu/intern/gpu_matrix.c index 7f024a18ba7..38a55020a5e 100644 --- a/source/blender/gpu/intern/gpu_matrix.c +++ b/source/blender/gpu/intern/gpu_matrix.c @@ -29,6 +29,8 @@ * \ingroup gpu */ +#include "../../../intern/gawain/gawain/gwn_shader_interface.h" + #define SUPPRESS_GENERIC_MATRIX_API #define USE_GPU_PY_MATRIX_API /* only so values are declared */ #include "GPU_matrix.h" @@ -556,7 +558,7 @@ const float (*gpuGetNormalMatrixInverse(float m[3][3]))[3] return m; } -void gpuBindMatrices(const Gwn_ShaderInterface* shaderface) +void gpuBindMatrices(const Gwn_ShaderInterface *shaderface) { /* set uniform values to matrix stack values * call this before a draw call if desired matrices are dirty |