diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-03-25 05:48:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-03-25 05:48:27 +0300 |
commit | edd2c556cda28becf38de6191d793c6f496495d9 (patch) | |
tree | 5b1cc7464aa8f4045dddc269f374a6271d5313d1 /source/blender/editors/screen/glutil.c | |
parent | 0c93bc2b637a6a3fe01b174dad2fb61895d004d2 (diff) |
Quiet warnings
Diffstat (limited to 'source/blender/editors/screen/glutil.c')
-rw-r--r-- | source/blender/editors/screen/glutil.c | 4 |
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 ***** */ |