mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-06-01 11:30:23 +00:00
23 lines
624 B
C#
23 lines
624 B
C#
// Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
|
|
// This file is distributed under GPL v3. See LICENSE.md for details.
|
|
|
|
using OpenTK.Graphics;
|
|
|
|
namespace OpenTK.Platform.Egl
|
|
{
|
|
/// <summary>
|
|
/// Represents an Egl exception.
|
|
/// </summary>
|
|
public class EglException : GraphicsContextException
|
|
{
|
|
/// <summary>
|
|
/// Gets the EGL error code.
|
|
/// </summary>
|
|
public ErrorCode ErrorCode { get; private set; }
|
|
|
|
internal EglException(string message, ErrorCode errorCode) : base(message)
|
|
{
|
|
ErrorCode = errorCode;
|
|
}
|
|
}
|
|
} |