diff --git a/src/OpenTK.GLWidget/GLWidget.cs b/src/OpenTK.GLWidget/GLWidget.cs index 7d9d3a1e..c1d3c5e4 100644 --- a/src/OpenTK.GLWidget/GLWidget.cs +++ b/src/OpenTK.GLWidget/GLWidget.cs @@ -49,7 +49,7 @@ namespace OpenTK #region Static attrs. private static int _GraphicsContextCount; - private static bool _SharedContextInitialized; + private static bool _SharedContextInitialized = false; #endregion @@ -58,7 +58,7 @@ namespace OpenTK private IGraphicsContext _GraphicsContext; private IWindowInfo _WindowInfo; private GraphicsContextFlags _GraphicsContextFlags; - private bool _Initialized; + private bool _Initialized = false; #endregion