Quiet warnings

This commit is contained in:
Campbell Barton 2017-03-25 13:48:27 +11:00
parent 0c93bc2b63
commit edd2c556cd
1 changed files with 2 additions and 2 deletions

View File

@ -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 ***** */