diff options
Diffstat (limited to 'examples/win32/Win32.cpp')
-rw-r--r-- | examples/win32/Win32.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/win32/Win32.cpp b/examples/win32/Win32.cpp index aedfc76..9b696c2 100644 --- a/examples/win32/Win32.cpp +++ b/examples/win32/Win32.cpp @@ -122,6 +122,10 @@ int main() } } + // Close our SFML views before destroying the underlying window + SFMLView1.close(); + SFMLView2.close(); + // Destroy the main window (all its child controls will be destroyed) DestroyWindow(window); |