diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-02-17 22:27:45 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-02-17 22:30:19 +0300 |
commit | 3cdbeb32d3779a0e6a89d2529c15f737cc32eae9 (patch) | |
tree | f05bfec7348bc136fca1f9054dd0c0cd36381878 /intern/opencolorio | |
parent | da6b534274d88de590ab978c596a5d8b10a70a69 (diff) |
Fix build error on some compilers after recent bugfix
Diffstat (limited to 'intern/opencolorio')
-rw-r--r-- | intern/opencolorio/ocio_impl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/opencolorio/ocio_impl.cc b/intern/opencolorio/ocio_impl.cc index 7c2f4017143..8b3c2dae6b0 100644 --- a/intern/opencolorio/ocio_impl.cc +++ b/intern/opencolorio/ocio_impl.cc @@ -341,9 +341,9 @@ void OCIOImpl::configGetXYZtoRGB(OCIO_ConstConfigRcPtr *config_, float xyz_to_rg if (to_scene_linear_matrix(config, "aces_interchange", aces_to_rgb)) { /* This is the OpenColorIO builtin transform: * UTILITY - ACES-AP0_to_CIE-XYZ-D65_BFD. */ - const float ACES_AP0_to_xyz_D65[3][3] = {{0.938280, 0.337369, 0.001174}, - {-0.004451, 0.729522, -0.003711}, - {0.016628, -0.066890, 1.091595}}; + const float ACES_AP0_to_xyz_D65[3][3] = {{0.938280f, 0.337369f, 0.001174f}, + {-0.004451f, 0.729522f, -0.003711f}, + {0.016628f, -0.066890f, 1.091595f}}; float xyz_to_aces[3][3]; invert_m3_m3(xyz_to_aces, ACES_AP0_to_xyz_D65); |