From af5be093a8dc463ac53d07b5bd4a0169ad96f6ab Mon Sep 17 00:00:00 2001 From: Jarl Gullberg Date: Tue, 13 Jun 2017 22:34:32 +0200 Subject: [PATCH] Revert "Removed redundant field initializers." This reverts commit 5abcfedf1116ce1d465b9f438febee519e602e13. --- src/OpenTK.GLWidget/GLWidget.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenTK.GLWidget/GLWidget.cs b/src/OpenTK.GLWidget/GLWidget.cs index 7d9d3a1..c1d3c5e 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 -- 2.7.4