GLWindow
Example
Putting this all together, linking with opengl32.lib and glu32.lib, we have our window set up. Running the application is as easy as instantiating a GLWindow object and calling mainLoop
#include "GLWindow.h"
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
GLWindow* window = new GLWindow();
window->mainLoop(hInstance, hPrevInstance, lpCmdLine, nCmdShow);
delete window;
}