Resize down flicker DirectX/Win32

by Tom Huntington   Last Updated June 30, 2020 01:13 AM

When resizing the width/height of a window, I get a varying size white flicker along the right/bottom border. It only happens when decreasing the width/height; there is no flicker when increasing. It happens when resizing with the left/top border as well as the right/bottom but the flicker still occurs at the right/bottom border.

enter image description here

It appears that directX is resizing faster than win32 or whatever draws the window frame. I tried the resizing instructions here https://docs.microsoft.com/en-us/windows/win32/direct3ddxgi/d3d10-graphics-programming-guide-dxgi#handling-window-resizing, but that had no effect.

This happens with the samples in https://github.com/microsoft/Xbox-ATG-Samples/tree/master/PCSamples but does not with the samples in https://github.com/walbourn/directx-sdk-samples which use the DirectX Utility Toolkit.



Related Questions


What are these leaked objects?

Updated December 25, 2018 08:13 AM

Resize window in D3D12

Updated September 11, 2019 12:13 PM

What is the point of a borderless fullscreen window?

Updated January 26, 2017 14:05 PM

DirectX11 program bug full screen

Updated January 26, 2019 00:13 AM