view src/video/dc/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 dad72daf44b3
children
line wrap: on
line source


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

noinst_LTLIBRARIES = libvideo_dc.la
libvideo_dc_la_SOURCES = $(SRCS)

# The SDL Dreamcast video driver sources
SRCS = 				\
	SDL_dcevents.c		\
	SDL_dcevents_c.h	\
	SDL_dcmouse.c		\
	SDL_dcmouse_c.h		\
	SDL_dcvideo.c		\
	SDL_dcvideo.h