Got rid of some warnings.

This commit is contained in:
the_fiddler 2008-01-11 20:54:06 +00:00
parent f8ec5ffcd0
commit 2ad50d33b6
3 changed files with 8 additions and 3 deletions

View file

@ -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;

View file

@ -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

View file

@ -1,3 +1,5 @@
#pragma warning disable 3019
namespace OpenTK.Platform.Windows
{
using System;