diff --git a/Source/OpenTK/Graphics/ES20/Helper.cs b/Source/OpenTK/Graphics/ES20/Helper.cs index 8c6af40e..99076893 100644 --- a/Source/OpenTK/Graphics/ES20/Helper.cs +++ b/Source/OpenTK/Graphics/ES20/Helper.cs @@ -373,7 +373,7 @@ namespace OpenTK.Graphics.ES20 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