From f240a752087df25beab2c32aab7166aa37ef005e Mon Sep 17 00:00:00 2001 From: Jarl Gullberg Date: Tue, 13 Jun 2017 22:08:58 +0200 Subject: [PATCH] Enforced use of explicit private modifiers for clarity. --- src/OpenTK.GLWidget/GLWidget.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/OpenTK.GLWidget/GLWidget.cs b/src/OpenTK.GLWidget/GLWidget.cs index d5f4a435..c1d3c5e4 100644 --- a/src/OpenTK.GLWidget/GLWidget.cs +++ b/src/OpenTK.GLWidget/GLWidget.cs @@ -48,17 +48,17 @@ namespace OpenTK #region Static attrs. - static int _GraphicsContextCount; - static bool _SharedContextInitialized = false; + private static int _GraphicsContextCount; + private static bool _SharedContextInitialized = false; #endregion #region Attributes - IGraphicsContext _GraphicsContext; - IWindowInfo _WindowInfo; - GraphicsContextFlags _GraphicsContextFlags; - bool _Initialized = false; + private IGraphicsContext _GraphicsContext; + private IWindowInfo _WindowInfo; + private GraphicsContextFlags _GraphicsContextFlags; + private bool _Initialized = false; #endregion @@ -231,7 +231,7 @@ namespace OpenTK /// /// Invokes the event. /// - static void OnGraphicsContextInitialized() + private static void OnGraphicsContextInitialized() { if (GraphicsContextInitialized != null) GraphicsContextInitialized(null, EventArgs.Empty); @@ -246,7 +246,7 @@ namespace OpenTK /// /// Invokes the event. /// - static void OnGraphicsContextShuttingDown() + private static void OnGraphicsContextShuttingDown() { if (GraphicsContextShuttingDown != null) GraphicsContextShuttingDown(null, EventArgs.Empty); @@ -353,7 +353,7 @@ namespace OpenTK /// /// Initializes the with its given values and creates a . /// - void Initialize() + private void Initialize() { _Initialized = true;