mirror of https://github.com/mpv-player/mpv
Set SDL window title.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31076 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a83117e972
commit
8b8fd879ac
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue