I solved this by putting opengl calls in the window procedure loop.
Visual artifacts when resizing window
John Ingles
1
Reputation point
I've made a basic window to display an opengl context. When I resize the window I get this
How should I fix this?
I've set the window style as
window_class.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC