mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-07-21 23:02:05 +00:00
[client] egl: improve HDR cursor rendering, fixes alpha blending
This commit is contained in:
@@ -630,7 +630,7 @@ static bool egl_onFrameFormat(LG_Renderer * renderer, const LG_RendererFormat fo
|
||||
bool useNativeHDR = format.hdr && nativeHDR && !app_getHDRDescFailed();
|
||||
egl_desktopSetNativeHDR(this->desktop, useNativeHDR);
|
||||
|
||||
// Tell the cursor shader about HDR state so it can do SDR→PQ conversion
|
||||
// Tell the cursor shader whether to map SDR cursor colors into PQ
|
||||
egl_cursorSetHDRState(this->cursor, useNativeHDR, format.hdrPQ);
|
||||
|
||||
egl_update_scale_type(this);
|
||||
|
||||
Reference in New Issue
Block a user