Bugfix: Creating a second GraphicsContext forced context sharing.
authorJonas Boesch <jonas.boesch@phonak.com>
Tue, 21 Apr 2015 14:09:48 +0000 (16:09 +0200)
committerManuel Zanin <manuel.zanin@sonova.com>
Mon, 28 Nov 2016 11:21:18 +0000 (12:21 +0100)
commit84a210bda5e0eec8e52e0581d547789dcb5f0c7c
tree9bb9b90d3d87ff1aa850bae3ad27bae1fb1e8760
parent9d29c8c19bbfa6cc5231c7f82f1333f36b2724c9
Bugfix: Creating a second GraphicsContext forced context sharing.

This fix will keep existing behavior (forced sharing) in the default case, but adds a new constructor that allows explicitly specifying the shared context. A user can now explicitly specify null for the shared context to get a new non-shared context.
src/OpenTK/Graphics/GraphicsContext.cs