view src/video/xbios/Makefile.am @ 1240:3b8a43c428bb

From Bug #36: There are a couple of issues with the selection of Altivec alpha-blitting routines in CalculateAlphaBlit() in src/video/SDL_Blit_A.c. 1) There's no check for the presence of Altivec when checking if the Blit32to565PixelAlphaAltivec() routine can be selected. 2) Altivec cannot be used in video memory, and there's no check if the destination surface is a hardware surface. (Alpha-blitting to a hardware surface with GPU support is a bad idea, but somebody's bound to do it anyway.) Patch to fix these attached.
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 08 Jan 2006 21:18:15 +0000
parents 5023cde12cbd
children
line wrap: on
line source


## Makefile.am for SDL using the XBIOS video driver

noinst_LTLIBRARIES = libvideo_xbios.la
libvideo_xbios_la_SOURCES = $(XBIOS_SRCS)

# The SDL XBIOS video driver sources
XBIOS_SRCS = 	\
	SDL_xbios.c	\
	SDL_xbios.h	\
	SDL_xbios_blowup.c	\
	SDL_xbios_blowup.h	\
	SDL_xbios_centscreen.c	\
	SDL_xbios_centscreen.h	\
	SDL_xbios_sb3.c	\
	SDL_xbios_sb3.h