Mercurial > sdl-ios-xcode
view src/timer/Makefile.am @ 1164:10b3fb28c86b
Date: Mon, 31 Oct 2005 14:23:34 +0100
From: Thomas Omilian <paccy@arcor.de>
To: sdl@libsdl.org
Subject: [SDL] SDL_SoftStretch() fixed!
Ok, after debugging the night I found the error:
in video/SDL_stretch.c in Line 81
/* See if we need to regenerate the copy buffer */
if ( (src_w == last.src_w) &&
(dst_w == last.src_w) && (bpp == last.bpp) ) {
return(0);
}
the second comparison should be (dst_w == last dst_w).
Perhaps someone could apply it to the source...
Regards,
Thomas Omilian
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Tue, 01 Nov 2005 04:14:24 +0000 |
parents | 623b453a3219 |
children |
line wrap: on
line source
## Makefile.am for the SDL timer library noinst_LTLIBRARIES = libtimer.la ARCH_SUBDIRS = $(srcdir)/amigaos \ $(srcdir)/beos \ $(srcdir)/dc \ $(srcdir)/epoc \ $(srcdir)/linux \ $(srcdir)/macos \ $(srcdir)/mint \ $(srcdir)/riscos \ $(srcdir)/win32 # Include the architecture-independent sources COMMON_SRCS = SDL_timer.c SDL_timer_c.h SDL_systimer.h # Include the architecture-specific sources if TARGET_MINT ARCH_SRCS = SDL_systimer.c mint/SDL_vbltimer.S mint/SDL_vbltimer_s.h else ARCH_SRCS = SDL_systimer.c endif libtimer_la_SOURCES = $(COMMON_SRCS) $(ARCH_SRCS) ## Let automake know that it shouldn't distribute linked sources BUILT_SOURCES = $(ARCH_SRCS) ## Let automake know that it should remove these for distribution DISTCLEANFILES = $(ARCH_SRCS) # The architecture specific directories need to be copied into place # when building a distribution. dist-hook: (cd $(distdir) && rm -f $(BUILT_SOURCES)) cp -rp $(ARCH_SUBDIRS) $(distdir) (cd $(distdir) && rm -rf `find . -name CVS`)