mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 19:45:29 +00:00
Fixed deprecation warning
This commit is contained in:
parent
0db58e36bc
commit
14d815dc8b
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue