diff options
Diffstat (limited to 'src/ativalid.c')
-rw-r--r-- | src/ativalid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ativalid.c b/src/ativalid.c index 612bfe5..0a6d54a 100644 --- a/src/ativalid.c +++ b/src/ativalid.c @@ -62,11 +62,11 @@ ATIValidMode /* CRTC_H_TOTAL is one bit narrower */ maxHValue >>= 1; } - if (pMode->HDisplay > maxHValue) + if (pMode->HTotal > maxHValue) return MODE_BAD_HVALUE; maxVValue = MaxBits(CRTC_V_TOTAL) + 1; - if (pMode->VDisplay > maxVValue) + if (pMode->VTotal > maxVValue) return MODE_BAD_VVALUE; } |