My attempt to get SDL binaries under Linux to compile

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3159 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Lance 2009-04-06 14:19:29 +00:00
parent 030e080baa
commit f2688e7866
2 changed files with 6 additions and 1 deletions

View File

@ -129,7 +129,7 @@ void Sys_Quit (void)
//enumerate the files in a directory (of both gpath and match - match may not contain ..)
//calls the callback for each one until the callback returns 0
//SDL provides no file enumeration facilities.
int Sys_EnumerateFiles (char *gpath, char *match, int (*func)(char *, int, void *), void *parm)
int Sys_EnumerateFiles (const char *gpath, const char *match, int (*func)(const char *, int, void *), void *parm)
{
return 1;
}

View File

@ -250,5 +250,10 @@ void GLVID_ShiftPalette (unsigned char *palette)
gammaworks = false;
}
void GLVID_SetCaption(char *text)
{
SDL_WM_SetCaption( text, NULL );
}