Correct equality comparsion operator position.

This commit is contained in:
Jarl Gullberg 2017-07-30 17:59:09 +02:00
parent 205cb307ec
commit c06ce5658d
No known key found for this signature in database
GPG key ID: 750FF6F6BDA72D23

View file

@ -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()));