Fixed deprecation warning

This commit is contained in:
Stefanos A 2013-12-15 22:02:32 +01:00
parent 0db58e36bc
commit 14d815dc8b

View file

@ -373,7 +373,7 @@ namespace OpenTK.Graphics.ES20
public static void DrawElements(BeginMode mode, int count, DrawElementsType type, int offset) 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 #endregion