mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 09:25:41 +00:00
Revert "Introduced optional parameters for GLWidget constructor, removing a redundant constructor."
This reverts commit 1634a652c2
.
This commit is contained in:
parent
632c3f8722
commit
accdc55731
|
@ -137,6 +137,12 @@ namespace OpenTK
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>Constructs a new GLWidget using a given GraphicsMode</summary>
|
||||||
|
public GLWidget(GraphicsMode graphicsMode)
|
||||||
|
: this(graphicsMode, 1, 0, GraphicsContextFlags.Default)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="GLWidget"/> class.
|
/// Initializes a new instance of the <see cref="GLWidget"/> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -146,7 +152,7 @@ namespace OpenTK
|
||||||
/// <param name="graphicsContextFlags">
|
/// <param name="graphicsContextFlags">
|
||||||
/// Any flags which should be used during initialization of the <see cref="GraphicsContext"/>.
|
/// Any flags which should be used during initialization of the <see cref="GraphicsContext"/>.
|
||||||
/// </param>
|
/// </param>
|
||||||
public GLWidget(GraphicsMode graphicsMode, int glVersionMajor = 1, int glVersionMinor = 0, GraphicsContextFlags graphicsContextFlags = GraphicsContextFlags.Default)
|
public GLWidget(GraphicsMode graphicsMode, int glVersionMajor, int glVersionMinor, GraphicsContextFlags graphicsContextFlags)
|
||||||
{
|
{
|
||||||
this.DoubleBuffered = false;
|
this.DoubleBuffered = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue