Skip to content

Commit

Permalink
Fixed deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
thefiddler committed Dec 15, 2013
1 parent 0db58e3 commit 14d815d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/OpenTK/Graphics/ES20/Helper.cs
Expand Up @@ -373,7 +373,7 @@ public static void VertexAttribPointer(uint index, int size, VertexAttribPointer

public static void DrawElements(BeginMode mode, int count, DrawElementsType type, int offset)
{
DrawElements(mode, count, type, new IntPtr(offset));
DrawElements((PrimitiveType)mode, count, type, new IntPtr(offset));
}

#endregion
Expand Down

0 comments on commit 14d815d

Please sign in to comment.