mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 02:05:29 +00:00
Correct equality comparsion operator position.
This commit is contained in:
parent
205cb307ec
commit
c06ce5658d
|
@ -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