If the window is resized to be bigger than when it was first instantiated (line 86 of main), the box will not render in the new screen area even though the background is the correct color. The 800x600 area is centered in the lower-left. If the window is resized to be smaller than 800x600 then resized back to 800x600 or bigger, the same 800x600 border is present.
If the window is resized to be bigger than when it was first instantiated (line 86 of main), the box will not render in the new screen area even though the background is the correct color. The 800x600 area is centered in the lower-left. If the window is resized to be smaller than 800x600 then resized back to 800x600 or bigger, the same 800x600 border is present.