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-03-25 05:48:27 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-03-25 05:48:27 +0300
commitedd2c556cda28becf38de6191d793c6f496495d9 (patch)
tree5b1cc7464aa8f4045dddc269f374a6271d5313d1 /source/blender/editors/screen/glutil.c
parent0c93bc2b637a6a3fe01b174dad2fb61895d004d2 (diff)
Quiet warnings
Diffstat (limited to 'source/blender/editors/screen/glutil.c')
-rw-r--r--source/blender/editors/screen/glutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c
index 05572146df7..10db4edd85b 100644
--- a/source/blender/editors/screen/glutil.c
+++ b/source/blender/editors/screen/glutil.c
@@ -700,7 +700,7 @@ void bglPolygonOffset(float viewdist, float dist)
// glPolygonOffset(-1.0, -1.0);
/* hack below is to mimic polygon offset */
- gpuGetProjectionMatrix3D(winmat);
+ gpuGetProjectionMatrix3D((float (*)[4])winmat);
/* dist is from camera to center point */
@@ -737,7 +737,7 @@ void bglPolygonOffset(float viewdist, float dist)
offset = 0.0;
}
- gpuLoadProjectionMatrix3D(winmat);
+ gpuLoadProjectionMatrix3D((const float (*)[4])winmat);
}
/* **** Color management helper functions for GLSL display/transform ***** */