wiRenderer moved to namespace (finally...)

This commit is contained in:
turanszkij
2018-09-22 14:15:44 +01:00
parent 142ced9583
commit 61e2e3addd
25 changed files with 1680 additions and 1596 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
break;
case WM_SIZE:
{
if (wiRenderer::graphicsDevice)
if (wiRenderer::GetDevice() != nullptr)
{
int width = LOWORD(lParam);
int height = HIWORD(lParam);