Revert Renderer to its pre-SDL state

This commit is contained in:
Lynix
2020-05-27 19:42:53 +02:00
parent 2d189dc85e
commit 81f03f04e5
12 changed files with 1148 additions and 595 deletions

View File

@@ -234,7 +234,7 @@ namespace Nz
bool RenderWindow::OnWindowCreated()
{
m_parameters.doubleBuffered = true;
m_parameters.window = GetHandle();
m_parameters.window = GetSystemHandle();
std::unique_ptr<Context> context(new Context);
if (!context->Create(m_parameters))