changeset 11233:92ded1d954ea

cvidix geometry support in textmode
author faust3
date Wed, 22 Oct 2003 18:35:51 +0000
parents 147a4c50214d
children 9767665d49e0
files vidix/drivers/nvidia_vid.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/drivers/nvidia_vid.c	Wed Oct 22 18:32:04 2003 +0000
+++ b/vidix/drivers/nvidia_vid.c	Wed Oct 22 18:35:51 2003 +0000
@@ -486,7 +486,7 @@
 void rivatv_overlay_start (struct rivatv_info *info,int bufno){
     uint32_t base, size, offset, xscale, yscale, pan;
     uint32_t value;
-	int x=8, y=8;
+	int x=info->wx?info->wx:8, y=info->wy?info->wy:8;
 	int lwidth=info->d_width, lheight=info->d_height;
 	int bps;