mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-28 13:15:31 +00:00
e220f3a71a
Removed some unused variables. Added licensing information.
39 lines
825 B
C#
39 lines
825 B
C#
#region --- License ---
|
|
/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
|
|
* See license.txt for license info
|
|
*/
|
|
#endregion
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Drawing;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
|
|
using OpenTK;
|
|
using OpenTK.Platform;
|
|
|
|
namespace Examples.Windowing
|
|
{
|
|
public partial class W01_DisplayModesForm : Form
|
|
{
|
|
OpenTK.Platform.IGLControl glWindow;
|
|
|
|
public W01_DisplayModesForm()
|
|
{
|
|
InitializeComponent();
|
|
|
|
glWindow = new GLControl();
|
|
|
|
IEnumerable<DisplayMode> modes = glWindow.Context.GetDisplayModes();
|
|
|
|
foreach (DisplayMode m in modes)
|
|
{
|
|
listBox1.Items.Add(m);
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|