diff options
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 ***** */ |