diff --git a/src/OpenTK/GameWindow.cs b/src/OpenTK/GameWindow.cs index 3db381ec..6dc2961e 100644 --- a/src/OpenTK/GameWindow.cs +++ b/src/OpenTK/GameWindow.cs @@ -853,15 +853,22 @@ namespace OpenTK OnLoad(e); } - private void OnRenderFrameInternal(FrameEventArgs e) { if (Exists && !isExiting) + private void OnRenderFrameInternal(FrameEventArgs e) + { + if (Exists && !isExiting) { OnRenderFrame(e); } } - private void OnUnloadInternal(EventArgs e) { OnUnload(e); } + private void OnUnloadInternal(EventArgs e) + { + OnUnload(e); + } - private void OnUpdateFrameInternal(FrameEventArgs e) { if (Exists && !isExiting) + private void OnUpdateFrameInternal(FrameEventArgs e) + { + if (Exists && !isExiting) { OnUpdateFrame(e); }