Chapter 13. Wiggle: OpenGL on Windows
by Richard S. Wright, Jr.
WHAT YOU'LL LEARN IN THIS CHAPTER:
Functions You'll Use
Request and select an OpenGL pixel format
Create and use OpenGL rendering contexts
Respond to window messages
Use double buffering in Windows
OpenGL is purely a graphics API, with user interaction and the screen or window handled by the host environment. To facilitate this partnership, each environment usually has some extensions that “glue” OpenGL to its own window management and user interface functions. This glue is code that associates OpenGL drawing commands to a particular window. ...