mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 04:45:29 +00:00
Added int overloads to [FogCoord|EdgeFlag|VertexAttrib]Pointer, to avoid issues with the object vs IntPtr overloads.
This commit is contained in:
parent
4d98cf56fb
commit
561b90a0eb
|
@ -983,7 +983,7 @@ namespace OpenTK.Graphics
|
|||
|
||||
#endregion
|
||||
|
||||
#region [Vertex|Normal|Index|Color]Pointer
|
||||
#region [Vertex|Normal|Index|Color|FogCoord|VertexAttrib]Pointer
|
||||
|
||||
public static void VertexPointer(int size, VertexPointerType type, int stride, int pointer)
|
||||
{
|
||||
|
@ -1005,6 +1005,21 @@ namespace OpenTK.Graphics
|
|||
ColorPointer(size, type, stride, (IntPtr)pointer);
|
||||
}
|
||||
|
||||
public static void FogCoordPointer(int size, FogPointerType type, int stride, int pointer)
|
||||
{
|
||||
FogCoordPointer(type, stride, (IntPtr)pointer);
|
||||
}
|
||||
|
||||
public static void EdgeFlagPointer(int stride, int pointer)
|
||||
{
|
||||
EdgeFlagPointer(stride, (IntPtr)pointer);
|
||||
}
|
||||
|
||||
public static void VertexAttribPointer(int index, int size, VertexAttribPointerType type, bool normalized, int stride, int pointer)
|
||||
{
|
||||
VertexAttribPointer(index, size, type, normalized, stride, (IntPtr)pointer);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
|
|
Loading…
Reference in a new issue