summaryrefslogtreecommitdiffstats
path: root/libvo/vo_dga.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_dga.c')
-rw-r--r--libvo/vo_dga.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/vo_dga.c b/libvo/vo_dga.c
index 458b4a856e..ac3cdccaaf 100644
--- a/libvo/vo_dga.c
+++ b/libvo/vo_dga.c
@@ -497,6 +497,7 @@ static int check_res( int num, int x, int y, int bpp,
// as long as it's above 50 Hz (acki2 on 30/3/2001)
||
(
+ (
(new_x == *old_x) &&
(new_y == *old_y) &&
(
@@ -510,6 +511,7 @@ static int check_res( int num, int x, int y, int bpp,
new_vbi >= 50
)
)
+ )
||
// if everything is equal, then use the mode with the lower
// stride