I'm pretty confused by what's happening. Now that I've finally put something moving on my screen, I notice it doesn't update unless I move the mouse, or press a key, or trigger other events.
Using PIX, the "Frame: #" counter only goes up when I fire these events. This is all that happens in my game loop:
while(GetMessage(&msg, NULL, 0, 0) > 0 && m_isRunning)
{
TranslateMessage(&msg);
DispatchMessage(&msg);
m_gameGraphics->BeginRender();
m_gameGraphics->EndRender();
}
BeginRender clears the screen, and EndRender presents to the swap chain. I thought maybe it was a problem with WndProc, but comparing it to other DirectX 11 game WndProcs, I don't see any major differences. I'm pretty confused, never seen this problem before, and I have no idea what causes it. I'm just hoping maybe someone will have some insight on why this might be happening.
