I don’t know if anybody came across this problem. However I found that in many OpenGL programmes out there including my own has the clipped problem. The clipped problem symtims are…
- it only happens in Double Buffering mode. Same code doesn’t fail in Single-Buffering mode.
- View is clipped on the right side and bottom side.
- The part got clipped shows always black no matter what background color you have.
- It happens to all types of Windows OS such as Windows 2000, NT4, ME, Windows 98.
- The clipped-off happens on different systems and different video cards.
- The width and height of the OnSize() is always matching the glViewport() size.
Thanks.