Skip to content

Commit

Permalink
Merge pull request #3 from xXGucciferXx/master
Browse files Browse the repository at this point in the history
Avoids prompt "Platform not supported" error
  • Loading branch information
DavidSM64 authored Jul 8, 2017
2 parents 0b8deb1 + ca76b46 commit ce8e2cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Forms/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ private short keepDegreesWithin360(short value)
public MainForm()
{
InitializeComponent();
OpenTK.Toolkit.Init();
glControl1.CreateControl();
SettingsFile.LoadGlobalSettings("default");
glControl1.MouseWheel += new MouseEventHandler(glControl1_Wheel);
ProjMatrix = Matrix4.CreatePerspectiveFieldOfView(FOV, (float)glControl1.Width/(float)glControl1.Height, 100f, 100000f);
Expand Down

0 comments on commit ce8e2cc

Please sign in to comment.