Got rid of some warnings.
This commit is contained in:
parent
f8ec5ffcd0
commit
2ad50d33b6
3 changed files with 8 additions and 3 deletions
|
@ -68,8 +68,8 @@ namespace Examples.Tutorial
|
|||
// 2) Bind the Vertex Buffer and upload your vertex data. Check that the data was uploaded correctly.
|
||||
// 3) Bind the Index Buffer and upload your index data. Check that the data was uploaded correctly.
|
||||
|
||||
vbo[0] = Load(cube.Vertices, cube.Indices);
|
||||
vbo[1] = Load(cube.Vertices, cube.Indices);
|
||||
vbo[0] = LoadVBO(cube.Vertices, cube.Indices);
|
||||
vbo[1] = LoadVBO(cube.Vertices, cube.Indices);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
@ -128,7 +128,7 @@ namespace Examples.Tutorial
|
|||
|
||||
#endregion
|
||||
|
||||
Vbo Load(Vector3[] vertices, int[] indices)
|
||||
Vbo LoadVBO(Vector3[] vertices, int[] indices)
|
||||
{
|
||||
Vbo handle = new Vbo();
|
||||
int size;
|
||||
|
|
|
@ -16,6 +16,9 @@ using System.Security;
|
|||
|
||||
/* TODO: Update the description of TimeBeginPeriod and other native methods. Update Timer. */
|
||||
|
||||
#pragma warning disable 3019 // CLS-compliance checking
|
||||
#pragma warning disable 0649 // struct members not explicitly initialized
|
||||
|
||||
namespace OpenTK.Platform.Windows
|
||||
{
|
||||
#region Type aliases
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#pragma warning disable 3019
|
||||
|
||||
namespace OpenTK.Platform.Windows
|
||||
{
|
||||
using System;
|
||||
|
|
Loading…
Reference in a new issue