Merge branch 'blender2.8' into blender2.8-workbench
[blender.git] / source / blender / draw / intern / draw_manager.c
index f9968fdc16c70653fa87556f56ca2a0ca931b4fe..b8ed341e2c5771d47e403444b58b82908dfd7e38 100644 (file)
@@ -518,7 +518,7 @@ void DRW_viewport_matrix_get_all(DRWMatrixState *state)
        memcpy(state, DST.view_data.matstate.mat, sizeof(DRWMatrixState));
 }
 
-void DRW_viewport_matrix_override_set(float mat[4][4], DRWViewportMatrixType type)
+void DRW_viewport_matrix_override_set(const float mat[4][4], DRWViewportMatrixType type)
 {
        BLI_assert(type < DRW_MAT_COUNT);
        copy_m4_m4(DST.view_data.matstate.mat[type], mat);