From c06ce5658d7c088e827dfd925d9234eb325fee64 Mon Sep 17 00:00:00 2001 From: Jarl Gullberg Date: Sun, 30 Jul 2017 17:59:09 +0200 Subject: [PATCH] Correct equality comparsion operator position. --- src/OpenTK/Platform/Egl/EglWindowInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenTK/Platform/Egl/EglWindowInfo.cs b/src/OpenTK/Platform/Egl/EglWindowInfo.cs index dd00ced0..ecdec262 100644 --- a/src/OpenTK/Platform/Egl/EglWindowInfo.cs +++ b/src/OpenTK/Platform/Egl/EglWindowInfo.cs @@ -68,7 +68,7 @@ namespace OpenTK.Platform.Egl public void CreateWindowSurface(IntPtr config) { Surface = Egl.CreateWindowSurface(Display, config, Handle, IntPtr.Zero); - if (Surface==IntPtr.Zero) + if (Surface == IntPtr.Zero) { throw new GraphicsContextException(String.Format( "[EGL] Failed to create window surface, error {0}.", Egl.GetError()));