r/C_Programming • u/Axxodes • Aug 10 '26
Problem with resizing a C window
I'm making a game engine and whilst trying to setup the window with windows.h, i found an issue when resizing the window. The resized parts of the window are black instead of white, how do i fix this?
0
Upvotes
View all comments
Show parent comment
2
u/soundman32 Aug 10 '26
How are you painting then? What is your message loop like? How are you responding to events from the GUI?