Set SDL window title.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31076 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2010-04-25 08:40:28 +00:00
parent a83117e972
commit 8b8fd879ac
1 changed files with 1 additions and 0 deletions

View File

@ -598,6 +598,7 @@ static int create_window(uint32_t d_width, uint32_t d_height, uint32_t flags, co
#endif
#ifdef CONFIG_GL_SDL
if (glctx.type == GLTYPE_SDL) {
SDL_WM_SetCaption(title, NULL);
vo_dwidth = d_width;
vo_dheight = d_height;
}