view src/video/macrom/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 74212992fb08
children
line wrap: on
line source


## Makefile.am for SDL using the Mac toolbox video driver

noinst_LTLIBRARIES = libvideo_macrom.la
libvideo_macrom_la_SOURCES = $(ROM_SRCS)

# The SDL Mac toolbox driver sources
ROM_SRCS = 			\
	SDL_romvideo.c		\
	SDL_romvideo.h