From edd2c556cda28becf38de6191d793c6f496495d9 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 25 Mar 2017 13:48:27 +1100 Subject: Quiet warnings --- source/blender/editors/screen/glutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/screen') 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 ***** */ -- cgit v1.2.3