Added VID_SetCaption support and removed SDL_INIT_CDROM for now. (thats in cd_sdl.c).

This commit is contained in:
Dabb 2000-07-14 17:16:08 +00:00
parent 4f6b7053ac
commit 3a50d8337d

View file

@ -1,5 +1,5 @@
/*
vid_sdl.h
vid_sdl.c
Video driver for Sam Lantinga's Simple DirectMedia Layer
@ -98,7 +98,7 @@ void VID_Init (unsigned char *palette)
// Load the SDL library
if (SDL_Init(SDL_INIT_VIDEO|SDL_INIT_CDROM)<0) //|SDL_INIT_AUDIO|SDL_INIT_CDROM) < 0)
if (SDL_Init(SDL_INIT_VIDEO)<0) //|SDL_INIT_AUDIO|SDL_INIT_CDROM) < 0)
Sys_Error("VID: Couldn't load SDL: %s", SDL_GetError());
// Set up display mode (width and height)
@ -483,3 +483,9 @@ VID_UnlockBuffer ( void )
{
}
void
VID_SetCaption (char *text)
{
SDL_WM_SetCaption(text, NULL);
}