mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
parent
83ea194f07
commit
79134ba665
@ -143,20 +143,14 @@ void Window::create(WindowHandle handle, const ContextSettings& settings)
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
void Window::close()
|
||||
{
|
||||
if (m_context)
|
||||
{
|
||||
// Delete the context
|
||||
delete m_context;
|
||||
m_context = NULL;
|
||||
}
|
||||
|
||||
if (m_impl)
|
||||
{
|
||||
// Delete the window implementation
|
||||
delete m_impl;
|
||||
m_impl = NULL;
|
||||
}
|
||||
|
||||
// Update the fullscreen window
|
||||
if (this == fullscreenWindow)
|
||||
|
Loading…
Reference in New Issue
Block a user