aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/sys/vesa/background.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2006-08-30 16:03:24 -0700
committerH. Peter Anvin <hpa@zytor.com>2006-08-30 16:03:24 -0700
commit23795d290ed8026150c5634dd31db030771ac53a (patch)
treef6ddffa6ca0abb76c711cfe9045325c87b43f33d /com32/lib/sys/vesa/background.c
parent7843b240080ab04f9b0d56c8ee5b7f3271b9c94f (diff)
downloadsyslinux-23795d290ed8026150c5634dd31db030771ac53a.tar.gz
syslinux-23795d290ed8026150c5634dd31db030771ac53a.tar.xz
syslinux-23795d290ed8026150c5634dd31db030771ac53a.zip
More sophisticated alpha blending; comment out background call ATM
Diffstat (limited to 'com32/lib/sys/vesa/background.c')
-rw-r--r--com32/lib/sys/vesa/background.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/com32/lib/sys/vesa/background.c b/com32/lib/sys/vesa/background.c
index 5a34ef82..c40b1386 100644
--- a/com32/lib/sys/vesa/background.c
+++ b/com32/lib/sys/vesa/background.c
@@ -126,12 +126,14 @@ int vesacon_load_background(const char *filename)
else if (info_ptr->bit_depth < 8)
png_set_packing(png_ptr);
+#if 0
if (png_get_bKGD(png_ptr, info_ptr, &image_background))
png_set_background(png_ptr, image_background,
PNG_BACKGROUND_GAMMA_FILE, 1, 1.0);
else
png_set_background(png_ptr, &my_background,
PNG_BACKGROUND_GAMMA_SCREEN, 0, 1.0);
+#endif
/* Whew! Now we should get the stuff we want... */
for (i = 0; i < info_ptr->height; i++)
@@ -160,4 +162,5 @@ int __vesacon_init_background(void)
memset(__vesacon_background, 0, sizeof __vesacon_background);
/* The VESA BIOS has already cleared the screen */
+ return 0;
}