Allow creation of a window without an OpenGL context in order to support use cases where the user wants to render using other graphics APIs.

This commit is contained in:
binary1248 2018-09-15 13:08:28 +02:00
parent 04131e1607
commit ae337952a9
No known key found for this signature in database
GPG key ID: E5E52A5D6082224A
24 changed files with 1009 additions and 574 deletions

View file

@ -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);