Don't call InvalidateRect on WndOnResize
And when you debug, use the flag D3D11_CREATE_DEVICE_DEBUG for D3D11CreateDevice, it will show wrong releases for interfaces...
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I've been used Direct2D for graphics a lot, last year. And I am trying to create another Direct2d app. My current direct2d program displays only white background, as expected. However, when I move or resize the window, it's movement is jittering. I don't know why, but my old direct2d program does smooth movement and resizing. Please help me.
And, Here is my current direct2d program...
Don't call InvalidateRect on WndOnResize
And when you debug, use the flag D3D11_CREATE_DEVICE_DEBUG for D3D11CreateDevice, it will show wrong releases for interfaces...