Fix compiler warnings
This commit is contained in:
1 parent
a58ff6fc87
commit
a342e442dc
4 files changed
+42
-40
No files matched your search
@@ -44,6 +44,7 @@ public final class ImFontAtlas implements ImDestroyable {
|
||||
}
|
||||
|
||||
/*JNI
|
||||
#include <stdint.h>
|
||||
#include <imgui.h>
|
||||
|
||||
jfieldID imFontAtlasPtrID;
|
||||
@@ -357,8 +358,8 @@ public final class ImFontAtlas implements ImDestroyable {
|
||||
return IM_FONT_ATLAS->IsBuilt();
|
||||
*/
|
||||
|
||||
public native void setTexID(int imTextureId); /*
|
||||
IM_FONT_ATLAS->SetTexID((ImTextureID)imTextureId);
|
||||
public native void setTexID(int textureID); /*
|
||||
IM_FONT_ATLAS->SetTexID((ImTextureID)(intptr_t)textureID);
|
||||
*/
|
||||
|
||||
//-------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user