From 4df0a1997343d95b97b28a2cf66b5ea1a6d97f5a Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 29 Jun 2003 22:44:30 +0000 Subject: [PATCH] fix compile problem --- stepmania/src/SDL_utils.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/SDL_utils.cpp b/stepmania/src/SDL_utils.cpp index 0b8efec0c6..2339678044 100644 --- a/stepmania/src/SDL_utils.cpp +++ b/stepmania/src/SDL_utils.cpp @@ -812,6 +812,7 @@ struct blit_traits_depallete { enum { convert = PAL_TO_RGBA }; }; template static void blit( SDL_Surface *src_surf, const SDL_Surface *dst_surf, int width, int height ); +template<> static void blit( SDL_Surface *src_surf, const SDL_Surface *dst_surf, int width, int height ) { const char *src = (const char *) src_surf->pixels; @@ -850,6 +851,7 @@ static void blit( SDL_Surface *src_surf, /* Rescaling blit with no ckey. This is what gets used to update moveis in * D3D, so optimization is very important. */ +template<> static void blit( SDL_Surface *src_surf, const SDL_Surface *dst_surf, int width, int height ) { const char *src = (const char *) src_surf->pixels;