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:
Murai Takashi
2018-12-02 21:32:09 +00:00
committed by waddlesplash
parent b63646d69c
commit c9e6afb2af
-2
View File
@@ -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;