changeset 11210:60288914167b

update overlay only if it is configured
author faust3
date Tue, 21 Oct 2003 17:15:34 +0000
parents 904f8b9c617c
children e0b5cd99f82e
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	Tue Oct 21 14:57:41 2003 +0000
+++ b/vidix/drivers/nvidia_vid.c	Tue Oct 21 17:15:34 2003 +0000
@@ -853,7 +853,7 @@
   info->vidixcolorkey = ((grkey->ckey.red<<16)|(grkey->ckey.green<<8)|grkey->ckey.blue);
   printf("[nvidia_vid] set colorkey 0x%x\n",info->vidixcolorkey);
   }
-  rivatv_overlay_start(info,0);
+  if(info->d_width && info->d_height)rivatv_overlay_start(info,0);
   return 0;
 }