Skip to content

Commit

Permalink
Fixed naming convention for ImDrawIdx vector and added constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidan63 committed Jan 28, 2018
1 parent 834bbdc commit d51f24a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions imgui/draw/ImDrawIdx.hx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ typedef ImDrawIdx = cpp.UInt16;

@:native('ImVector<ImDrawIdx>')
@:structAccess
extern class ImDrawIdxVector extends ImVector<ImDrawIdx>
@:unreflective
extern class ImVectorImDrawIdx extends ImVector<ImDrawIdx>
{
//
@:native('ImVector<ImDrawIdx>') public static function create() : ImVectorImDrawIdx;
}
2 changes: 1 addition & 1 deletion imgui/draw/ImDrawList.hx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import imgui.util.ImVec4;
extern class ImDrawList
{
@:native('CmdBuffer') public var cmdBuffer : ImVectorImDrawCmd;
@:native('IdxBuffer') public var idxBuffer : ImDrawIdxVector;
@:native('IdxBuffer') public var idxBuffer : ImVectorImDrawIdx;
@:native('VtxBuffer') public var vtxBuffer : ImDrawVertVector;

//------------//
Expand Down

0 comments on commit d51f24a

Please sign in to comment.