mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
* Use GLFW instead of OpenTK windows * Seems to work pretty well now. * Fix stackalloc issue on Framework. * Add GLFW project to sln. * Fix package downgrade. * Fix SLN more. * Please work. * Fix C# version error.
33 lines
733 B
C#
33 lines
733 B
C#
//
|
|
// Robustness.cs
|
|
//
|
|
// Copyright (C) 2019 OpenTK
|
|
//
|
|
// This software may be modified and distributed under the terms
|
|
// of the MIT license. See the LICENSE file for details.
|
|
//
|
|
|
|
namespace OpenToolkit.GraphicsLibraryFramework
|
|
{
|
|
/// <summary>
|
|
/// OpenGL context robustness strategy.
|
|
/// </summary>
|
|
public enum Robustness
|
|
{
|
|
/// <summary>
|
|
/// No context robustness strategy.
|
|
/// </summary>
|
|
NoRobustness = 0,
|
|
|
|
/// <summary>
|
|
/// Robust context without a reset notification.
|
|
/// </summary>
|
|
NoResetNotification = 0x00031001,
|
|
|
|
/// <summary>
|
|
/// Lose context on reset.
|
|
/// </summary>
|
|
LoseContextOnReset = 0x00031002
|
|
}
|
|
}
|