I need to create a program that draws a graph, but for now, all I have done is two lines: the X and Y axis.
The program is designed in a way as to automatically resize the graph when the window is resized.
Is this code in some way extremely inefficient? I get TERRIBLE flickering when I resize the window, and it
really annoys me. Is there any way around this problem, or something that will at least reduce the flickering?
This is important. Any help is greatly appreciated. I will also add that I have a very high-end PC.
I have added a screenshot that shows the window flickering.
My MCRS certification: