mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Fix for warning and fix for incorrect comment (#12944)
This commit is contained in:
parent
36888612eb
commit
0ac542f1db
@ -2353,7 +2353,7 @@ HWND win32_get_window(void)
|
||||
|
||||
bool win32_get_client_rect(RECT* rect)
|
||||
{
|
||||
return GetWindowRect(main_window.hwnd, &rect);
|
||||
return GetWindowRect(main_window.hwnd, rect);
|
||||
}
|
||||
|
||||
void win32_window_reset(void)
|
||||
|
@ -73,7 +73,7 @@ SRC(
|
||||
|
||||
float4 Hdr(float4 sdr)
|
||||
{
|
||||
sdr.xyz = pow(abs(sdr.xyz), 2.2f / global.contrast); /* Display Gamma - needs to be determined by calibration screen but should be in the 0.8 - 1.4 range */
|
||||
sdr.xyz = pow(abs(sdr.xyz), 2.2f / global.contrast ); /* Display Gamma - needs to be determined by calibration screen */
|
||||
|
||||
float luma = dot(sdr.xyz, float3(0.2126, 0.7152, 0.0722)); /* Rec BT.709 luma coefficients - https://en.wikipedia.org/wiki/Luma_(video) */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user