Correct equality comparsion operator position.
This commit is contained in:
parent
205cb307ec
commit
c06ce5658d
1 changed files with 1 additions and 1 deletions
|
@ -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()));
|
||||
|
|
Loading…
Reference in a new issue