less OpenTK warnings

This commit is contained in:
UnknownShadow200 2017-02-07 16:21:42 +11:00
parent f680bd0706
commit 73d4cf227e
2 changed files with 2 additions and 3 deletions

View file

@ -67,8 +67,5 @@
<ItemGroup>
<None Include="app.config" />
</ItemGroup>
<ItemGroup>
<Content Include="ProfilingSessions\Session20170207_155444.sdps" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
</Project>

View file

@ -183,6 +183,7 @@ namespace OpenTK.Platform.Windows {
internal const int DISP_CHANGE_FAILED = -1;
}
#pragma warning disable 0649
internal struct CreateStruct {
internal IntPtr lpCreateParams;
internal IntPtr hInstance;
@ -204,6 +205,7 @@ namespace OpenTK.Platform.Windows {
public WindowStyle Old;
public WindowStyle New;
}
#pragma warning restore 0649
[StructLayout(LayoutKind.Sequential)]
internal struct PixelFormatDescriptor {