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
1 changed files with 16 additions and 1 deletions
|
@ -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