mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 06:15:29 +00:00
Got rid of some warnings.
This commit is contained in:
parent
d8eedf31b6
commit
c11735a22f
|
@ -68,8 +68,8 @@ namespace Examples.Tutorial
|
||||||
// 2) Bind the Vertex Buffer and upload your vertex data. Check that the data was uploaded correctly.
|
// 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.
|
// 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[0] = LoadVBO(cube.Vertices, cube.Indices);
|
||||||
vbo[1] = Load(cube.Vertices, cube.Indices);
|
vbo[1] = LoadVBO(cube.Vertices, cube.Indices);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
@ -128,7 +128,7 @@ namespace Examples.Tutorial
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
Vbo Load(Vector3[] vertices, int[] indices)
|
Vbo LoadVBO(Vector3[] vertices, int[] indices)
|
||||||
{
|
{
|
||||||
Vbo handle = new Vbo();
|
Vbo handle = new Vbo();
|
||||||
int size;
|
int size;
|
||||||
|
|
|
@ -16,6 +16,9 @@ using System.Security;
|
||||||
|
|
||||||
/* TODO: Update the description of TimeBeginPeriod and other native methods. Update Timer. */
|
/* 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
|
namespace OpenTK.Platform.Windows
|
||||||
{
|
{
|
||||||
#region Type aliases
|
#region Type aliases
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable 3019
|
||||||
|
|
||||||
namespace OpenTK.Platform.Windows
|
namespace OpenTK.Platform.Windows
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
|
|
Loading…
Reference in a new issue