changeset 563:5eb28ba8a96a

nothing important
author szabii
date Sat, 21 Apr 2001 20:43:59 +0000
parents 312fee2a6816
children 747759a4a28f
files libvo/vo_fbdev.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_fbdev.c	Sat Apr 21 18:19:12 2001 +0000
+++ b/libvo/vo_fbdev.c	Sat Apr 21 20:43:59 2001 +0000
@@ -441,8 +441,11 @@
 {
 	p->bits_per_pixel = (bpp + 1) & ~1;
 	p->red.msb_right = p->green.msb_right = p->blue.msb_right = 0;
+	p->transp.offset = p->transp.length = 0;
 	switch (bpp) {
 		case 32:
+			p->transp.offset = 24;
+			p->transp.length = 8;
 		case 24:
 			p->red.offset = 16;
 			p->red.length = 8;