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:
authorCampbell Barton <ideasman42@gmail.com>2017-08-20 18:39:03 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-08-20 18:41:20 +0300
commit1b79d323d95567de4be595409b5994d993d5154b (patch)
treeadfdbe11372baed0e6c5339995c1e17521333199 /source/blender/gpu/GPU_matrix.h
parent4f881e0d974e051f22926680501f80913f6cb2d4 (diff)
Cleanup: move gawain header out of GPU_matrix
Avoids requiring glew headers in Python API.
Diffstat (limited to 'source/blender/gpu/GPU_matrix.h')
-rw-r--r--source/blender/gpu/GPU_matrix.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/gpu/GPU_matrix.h b/source/blender/gpu/GPU_matrix.h
index 4e136ed34b2..f22c0cd5c4d 100644
--- a/source/blender/gpu/GPU_matrix.h
+++ b/source/blender/gpu/GPU_matrix.h
@@ -33,12 +33,13 @@
#define __GPU_MATRIX_H__
#include "BLI_sys_types.h"
-#include "../../../intern/gawain/gawain/gwn_shader_interface.h"
#ifdef __cplusplus
extern "C" {
#endif
+struct Gwn_ShaderInterface;
+
void gpuMatrixReset(void); /* to Identity transform & empty stack */
/* ModelView Matrix (2D or 3D) */
@@ -110,7 +111,7 @@ const float (*gpuGetNormalMatrixInverse(float m[3][3]))[3];
/* set uniform values for currently bound shader */
-void gpuBindMatrices(const Gwn_ShaderInterface*);
+void gpuBindMatrices(const struct Gwn_ShaderInterface *);
bool gpuMatricesDirty(void); /* since last bind */