changeset 11165:e1c3f72da3d1

fixed colorkey enabling/disabling
author faust3
date Fri, 17 Oct 2003 17:10:48 +0000
parents 33aaf024ddd1
children 8af26336d9f7
files vidix/drivers/nvidia_vid.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/drivers/nvidia_vid.c	Fri Oct 17 12:29:15 2003 +0000
+++ b/vidix/drivers/nvidia_vid.c	Fri Oct 17 17:10:48 2003 +0000
@@ -847,13 +847,13 @@
   {
     info->use_colorkey = 0;
     printf("[nvidia_vid] colorkeying disabled\n");
-    return 0;
   }
-
+  else {
   info->use_colorkey = 1;
   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_colorkey(info,info->vidixcolorkey);
+  }
+  rivatv_overlay_start(info,0);
   return 0;
 }