fix(api): fix incorrect ImDrawData#getCmdListCmdBufferTextureId return type (#272)
Method must return long to be consistent with API in general.
This commit is contained in:
1 parent
c0ea002d07
commit
36d9e3a13c
3 files changed
+4
-4
No files matched your search
@@ -63,7 +63,7 @@ public final class ImDrawData extends ImGuiStruct {
|
||||
* User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions.
|
||||
* Ignore if never using images or multiple fonts atlas.
|
||||
*/
|
||||
public native int getCmdListCmdBufferTextureId(int cmdListIdx, int cmdBufferIdx); /*
|
||||
public native long getCmdListCmdBufferTextureId(int cmdListIdx, int cmdBufferIdx); /*
|
||||
return (uintptr_t)THIS->CmdLists[cmdListIdx]->CmdBuffer[cmdBufferIdx].GetTexID();
|
||||
*/
|
||||
|
||||
|
||||
Reference in new issue
Block a user