mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
moved setting of the window title
This commit is contained in:
parent
c0f2ef7f91
commit
20280336dd
|
@ -978,6 +978,9 @@ int _glfwPlatformOpenWindow( int width, int height, int redbits,
|
|||
return GL_FALSE;
|
||||
}
|
||||
|
||||
// Set window & icon name
|
||||
_glfwPlatformSetWindowTitle( "Teeworlds" );
|
||||
|
||||
// Get the delete window WM protocol atom
|
||||
_glfwWin.WMDeleteWindow = XInternAtom( _glfwLibrary.Dpy,
|
||||
"WM_DELETE_WINDOW",
|
||||
|
@ -1072,9 +1075,6 @@ int _glfwPlatformOpenWindow( int width, int height, int redbits,
|
|||
_glfwWin.Width/2, _glfwWin.Height/2 );
|
||||
}
|
||||
|
||||
// Set window & icon name
|
||||
_glfwPlatformSetWindowTitle( "GLFW Window" );
|
||||
|
||||
// Connect the context to the window
|
||||
glXMakeCurrent( _glfwLibrary.Dpy, _glfwWin.Win, _glfwWin.CX );
|
||||
|
||||
|
|
Loading…
Reference in a new issue