wiRenderer moved to namespace (finally...)
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user