You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
auto imageDesc = makeShared<CCWpImageDescriptionCreatorParamsV1>(g_waylandPlatform->m_waylandState.colorManagement->sendCreateParametricCreator());
301
+
302
+
// Because we don't actually give a flying fuck about color in our renderer... at the moment (FIXME: I wanna write an image viewer, proper colors would be nice...)
303
+
// we essentially do an srgb kinda...
304
+
305
+
// FIXME: for some reason this is correct while named sRGB isn't. Hyprland bug probably. Needs a hl patch.
306
+
constexprconstint32_t MILLION = 1000000;
307
+
imageDesc->sendSetPrimaries( //
308
+
0.64 * MILLION, 0.33 * MILLION, // r
309
+
0.3 * MILLION, 0.6 * MILLION, // g
310
+
0.15 * MILLION, 0.06 * MILLION, // b
311
+
0.3127 * MILLION, 0.329 * MILLION // D65 white point
0 commit comments