I have two functions that are supposed to create two viewports on a single window. For some reason it only draws one of them. Can anyone help me? Here is some of the code:
and in my winProc WM_PAINT case:
The window this draws to is a 600x800 full screen window with windows in 600x800 resolution. This code only draws the RenderScene2() code.
Also can someone tell me if glClearColor() clears the entire window or just the current viewport? How do I clear just the current viewport when it does not take up the entire screen? Thanks.