andykorth/opentk — pull request #8 by david-lively (2013-02-05 19:48:06+00:00)
Title: Modified windows version of GraphicsContext.MakeCurrent to correct issue which prevented multiple NativeWindows from rendering from a single context.

...ultiple windows. This was mentioned in 2011 at

http://www.opentk.com/node/2474

When creating multiple windows (for instance, with a tiled rendering / display wall app) and a single context, only the first window would render. Attempting to call context.MakeCurrent() for any of the other windows would fail with an error 2000 (incorrect pixel format). This change corrects that, though the call to SetPixelFormat() is a bit slow.