From 0fd9991fbecbc4114a7ca82207e826283116d0da Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Mon, 17 May 2004 03:52:02 +0000 Subject: [PATCH] use RageSurface::Load --- stepmania/src/arch/LoadingWindow/LoadingWindow_Win32.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/arch/LoadingWindow/LoadingWindow_Win32.cpp b/stepmania/src/arch/LoadingWindow/LoadingWindow_Win32.cpp index 3ae2eaedf1..c79f534111 100644 --- a/stepmania/src/arch/LoadingWindow/LoadingWindow_Win32.cpp +++ b/stepmania/src/arch/LoadingWindow/LoadingWindow_Win32.cpp @@ -6,13 +6,14 @@ #include "resource.h" #include #include "SDL_utils.h" +#include "RageSurface_Load.h" static HBITMAP g_hBitmap = NULL; /* Load a file into a GDI surface. */ HBITMAP LoadWin32Surface( CString fn ) { - SDL_Surface *s = SDL_LoadImage( fn ); + SDL_Surface *s = RageSurface::LoadFile( fn ); if( s == NULL ) return NULL;