accelerants/radeon: Fix PVS 2007
Fix the '?:' operator returns same value. Change-Id: I439d30f78213e0dc80c6fed90e5068618faea1fa Reviewed-on: https://review.haiku-os.org/738 Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
b63646d69c
commit
c9e6afb2af
@@ -517,8 +517,6 @@ void Radeon_CalcImpacTVRegisters(
|
||||
values->tv_hdisp = mode->timing.h_display - 1;
|
||||
values->tv_hstart =
|
||||
// TK: was -12, but this cuts off the left border of the image
|
||||
internal_encoder ?
|
||||
values->tv_hdisp + 1 - params->mode888 + 12 :
|
||||
values->tv_hdisp + 1 - params->mode888 + 12;
|
||||
|
||||
values->tv_vtotal = mode->timing.v_total - 1;
|
||||
|
||||
Reference in New Issue
Block a user