Skip to content

Commit a342e44

Browse files
committed
Fix compiler warnings
1 parent a58ff6f commit a342e44

File tree

4 files changed

+42
-40
lines changed

4 files changed

+42
-40
lines changed

imgui-binding/src/main/java/imgui/ImDrawData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public final class ImDrawData {
157157
158158
float textureID = (float)(intptr_t)pcmd->TextureId;
159159
float tempArray [6] = {
160-
pcmd->ElemCount,
160+
(float)pcmd->ElemCount,
161161
pcmd->ClipRect.x, pcmd->ClipRect.y,
162162
pcmd->ClipRect.z, pcmd->ClipRect.w,
163163
textureID

imgui-binding/src/main/java/imgui/ImDrawList.java

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public final class ImDrawList {
2424
}
2525

2626
/*JNI
27+
#include <stdint.h>
2728
#include <imgui.h>
2829
#include "jni_common.h"
2930
@@ -90,7 +91,7 @@ public final class ImDrawList {
9091
*/
9192

9293
public native void pushTextureId(int textureId); /*
93-
IM_DRAW_LIST->PushTextureID((ImTextureID)textureId);
94+
IM_DRAW_LIST->PushTextureID((ImTextureID)(intptr_t)textureId);
9495
*/
9596

9697
public native void popTextureId(); /*
@@ -287,51 +288,51 @@ public void addText(ImFont imFont, float fontSize, float posX, float posY, int c
287288
// - "uvMin" and "uvMax" represent the normalized texture coordinates to use for those corners. Using (0,0)->(1,1) texture coordinates will generally display the entire texture.
288289

289290
public native void addImage(int textureID, float pMinX, float pMinY, float pMaxX, float pMaxY); /*
290-
IM_DRAW_LIST->AddImage((ImTextureID)textureID, ImVec2(pMinX, pMinY), ImVec2(pMaxX, pMaxY));
291+
IM_DRAW_LIST->AddImage((ImTextureID)(intptr_t)textureID, ImVec2(pMinX, pMinY), ImVec2(pMaxX, pMaxY));
291292
*/
292293

293294
public native void addImage(int textureID, float pMinX, float pMinY, float pMaxX, float pMaxY, float uvMinX, float uvMinY); /*
294-
IM_DRAW_LIST->AddImage((ImTextureID)textureID, ImVec2(pMinX, pMinY), ImVec2(pMaxX, pMaxY), ImVec2(uvMinX, uvMinY));
295+
IM_DRAW_LIST->AddImage((ImTextureID)(intptr_t)textureID, ImVec2(pMinX, pMinY), ImVec2(pMaxX, pMaxY), ImVec2(uvMinX, uvMinY));
295296
*/
296297

297298
public native void addImage(int textureID, float pMinX, float pMinY, float pMaxX, float pMaxY, float uvMinX, float uvMinY, float uvMaxX, float uvMaxY); /*
298-
IM_DRAW_LIST->AddImage((ImTextureID)textureID, ImVec2(pMinX, pMinY), ImVec2(pMaxX, pMaxY), ImVec2(uvMinX, uvMinY), ImVec2(uvMaxX, uvMaxY));
299+
IM_DRAW_LIST->AddImage((ImTextureID)(intptr_t)textureID, ImVec2(pMinX, pMinY), ImVec2(pMaxX, pMaxY), ImVec2(uvMinX, uvMinY), ImVec2(uvMaxX, uvMaxY));
299300
*/
300301

301302
public native void addImage(int textureID, float pMinX, float pMinY, float pMaxX, float pMaxY, float uvMinX, float uvMinY, float uvMaxX, float uvMaxY, int col); /*
302-
IM_DRAW_LIST->AddImage((ImTextureID)textureID, ImVec2(pMinX, pMinY), ImVec2(pMaxX, pMaxY), ImVec2(uvMinX, uvMinY), ImVec2(uvMaxX, uvMaxY), col);
303+
IM_DRAW_LIST->AddImage((ImTextureID)(intptr_t)textureID, ImVec2(pMinX, pMinY), ImVec2(pMaxX, pMaxY), ImVec2(uvMinX, uvMinY), ImVec2(uvMaxX, uvMaxY), col);
303304
*/
304305

305306
public native void addImageQuad(int textureID, float p1X, float p1Y, float p2X, float p2Y, float p3X, float p3Y, float p4X, float p4Y); /*
306-
IM_DRAW_LIST->AddImageQuad((ImTextureID)textureID, ImVec2(p1X, p1Y), ImVec2(p2X, p2Y), ImVec2(p3X, p3Y), ImVec2(p4X, p4Y));
307+
IM_DRAW_LIST->AddImageQuad((ImTextureID)(intptr_t)textureID, ImVec2(p1X, p1Y), ImVec2(p2X, p2Y), ImVec2(p3X, p3Y), ImVec2(p4X, p4Y));
307308
*/
308309

309310
public native void addImageQuad(int textureID, float p1X, float p1Y, float p2X, float p2Y, float p3X, float p3Y, float p4X, float p4Y, float uv1X, float uv1Y); /*
310-
IM_DRAW_LIST->AddImageQuad((ImTextureID)textureID, ImVec2(p1X, p1Y), ImVec2(p2X, p2Y), ImVec2(p3X, p3Y), ImVec2(p4X, p4Y), ImVec2(uv1X, uv1Y));
311+
IM_DRAW_LIST->AddImageQuad((ImTextureID)(intptr_t)textureID, ImVec2(p1X, p1Y), ImVec2(p2X, p2Y), ImVec2(p3X, p3Y), ImVec2(p4X, p4Y), ImVec2(uv1X, uv1Y));
311312
*/
312313

313314
public native void addImageQuad(int textureID, float p1X, float p1Y, float p2X, float p2Y, float p3X, float p3Y, float p4X, float p4Y, float uv1X, float uv1Y, float uv2X, float uv2Y); /*
314-
IM_DRAW_LIST->AddImageQuad((ImTextureID)textureID, ImVec2(p1X, p1Y), ImVec2(p2X, p2Y), ImVec2(p3X, p3Y), ImVec2(p4X, p4Y), ImVec2(uv1X, uv1Y), ImVec2(uv2X, uv2Y));
315+
IM_DRAW_LIST->AddImageQuad((ImTextureID)(intptr_t)textureID, ImVec2(p1X, p1Y), ImVec2(p2X, p2Y), ImVec2(p3X, p3Y), ImVec2(p4X, p4Y), ImVec2(uv1X, uv1Y), ImVec2(uv2X, uv2Y));
315316
*/
316317

317318
public native void addImageQuad(int textureID, float p1X, float p1Y, float p2X, float p2Y, float p3X, float p3Y, float p4X, float p4Y, float uv1X, float uv1Y, float uv2X, float uv2Y, float uv3X, float uv3Y); /*
318-
IM_DRAW_LIST->AddImageQuad((ImTextureID)textureID, ImVec2(p1X, p1Y), ImVec2(p2X, p2Y), ImVec2(p3X, p3Y), ImVec2(p4X, p4Y), ImVec2(uv1X, uv1Y), ImVec2(uv2X, uv2Y), ImVec2(uv3X, uv3Y));
319+
IM_DRAW_LIST->AddImageQuad((ImTextureID)(intptr_t)textureID, ImVec2(p1X, p1Y), ImVec2(p2X, p2Y), ImVec2(p3X, p3Y), ImVec2(p4X, p4Y), ImVec2(uv1X, uv1Y), ImVec2(uv2X, uv2Y), ImVec2(uv3X, uv3Y));
319320
*/
320321

321322
public native void addImageQuad(int textureID, float p1X, float p1Y, float p2X, float p2Y, float p3X, float p3Y, float p4X, float p4Y, float uv1X, float uv1Y, float uv2X, float uv2Y, float uv3X, float uv3Y, float uv4X, float uv4Y); /*
322-
IM_DRAW_LIST->AddImageQuad((ImTextureID)textureID, ImVec2(p1X, p1Y), ImVec2(p2X, p2Y), ImVec2(p3X, p3Y), ImVec2(p4X, p4Y), ImVec2(uv1X, uv1Y), ImVec2(uv2X, uv2Y), ImVec2(uv3X, uv3Y), ImVec2(uv4X, uv4Y));
323+
IM_DRAW_LIST->AddImageQuad((ImTextureID)(intptr_t)textureID, ImVec2(p1X, p1Y), ImVec2(p2X, p2Y), ImVec2(p3X, p3Y), ImVec2(p4X, p4Y), ImVec2(uv1X, uv1Y), ImVec2(uv2X, uv2Y), ImVec2(uv3X, uv3Y), ImVec2(uv4X, uv4Y));
323324
*/
324325

325326
public native void addImageQuad(int textureID, float p1X, float p1Y, float p2X, float p2Y, float p3X, float p3Y, float p4X, float p4Y, float uv1X, float uv1Y, float uv2X, float uv2Y, float uv3X, float uv3Y, float uv4X, float uv4Y, int col); /*
326-
IM_DRAW_LIST->AddImageQuad((ImTextureID)textureID, ImVec2(p1X, p1Y), ImVec2(p2X, p2Y), ImVec2(p3X, p3Y), ImVec2(p4X, p4Y), ImVec2(uv1X, uv1Y), ImVec2(uv2X, uv2Y), ImVec2(uv3X, uv3Y), ImVec2(uv4X, uv4Y), col);
327+
IM_DRAW_LIST->AddImageQuad((ImTextureID)(intptr_t)textureID, ImVec2(p1X, p1Y), ImVec2(p2X, p2Y), ImVec2(p3X, p3Y), ImVec2(p4X, p4Y), ImVec2(uv1X, uv1Y), ImVec2(uv2X, uv2Y), ImVec2(uv3X, uv3Y), ImVec2(uv4X, uv4Y), col);
327328
*/
328329

329330
public native void addImageRounded(int textureID, float pMinX, float pMinY, float pMaxX, float pMaxY, float uvMinX, float uvMinY, float uvMaxX, float uvMaxY, int col, float rounding); /*
330-
IM_DRAW_LIST->AddImageRounded((ImTextureID)textureID, ImVec2(pMinX, pMinY), ImVec2(pMaxX, pMaxY), ImVec2(uvMinX, uvMinY), ImVec2(uvMaxX, uvMaxY), col, rounding);
331+
IM_DRAW_LIST->AddImageRounded((ImTextureID)(intptr_t)textureID, ImVec2(pMinX, pMinY), ImVec2(pMaxX, pMaxY), ImVec2(uvMinX, uvMinY), ImVec2(uvMaxX, uvMaxY), col, rounding);
331332
*/
332333

333334
public native void addImageRounded(int textureID, float pMinX, float pMinY, float pMaxX, float pMaxY, float uvMinX, float uvMinY, float uvMaxX, float uvMaxY, int col, float rounding, int imDrawCornerFlags); /*
334-
IM_DRAW_LIST->AddImageRounded((ImTextureID)textureID, ImVec2(pMinX, pMinY), ImVec2(pMaxX, pMaxY), ImVec2(uvMinX, uvMinY), ImVec2(uvMaxX, uvMaxY), col, rounding, imDrawCornerFlags);
335+
IM_DRAW_LIST->AddImageRounded((ImTextureID)(intptr_t)textureID, ImVec2(pMinX, pMinY), ImVec2(pMaxX, pMaxY), ImVec2(uvMinX, uvMinY), ImVec2(uvMaxX, uvMaxY), col, rounding, imDrawCornerFlags);
335336
*/
336337

337338
// Stateful path API, add points then finish with PathFillConvex() or PathStroke()

imgui-binding/src/main/java/imgui/ImFontAtlas.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public void destroy() {
4444
}
4545

4646
/*JNI
47+
#include <stdint.h>
4748
#include <imgui.h>
4849
4950
jfieldID imFontAtlasPtrID;
@@ -357,8 +358,8 @@ public ByteBuffer getTexDataAsRGBA32(final ImInt outWidth, final ImInt outHeight
357358
return IM_FONT_ATLAS->IsBuilt();
358359
*/
359360

360-
public native void setTexID(int imTextureId); /*
361-
IM_FONT_ATLAS->SetTexID((ImTextureID)imTextureId);
361+
public native void setTexID(int textureID); /*
362+
IM_FONT_ATLAS->SetTexID((ImTextureID)(intptr_t)textureID);
362363
*/
363364

364365
//-------------------------------------------

imgui-binding/src/main/java/imgui/ImGui.java

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ public static ImDrawList getWindowDrawList() {
629629
* Set named window collapsed state
630630
*/
631631
public static native void setWindowCollapsed(String name, boolean collapsed); /*
632-
ImGui::SetWindowCollapsed(name, collapsed);
632+
ImGui::SetWindowCollapsed(name, collapsed, 0);
633633
*/
634634

635635
/**
@@ -1250,14 +1250,14 @@ public static ImFont getFont() {
12501250
* Shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor();
12511251
*/
12521252
public static native void textColored(float r, float g, float b, float a, String text); /*
1253-
ImGui::TextColored(ImVec4(r, g, b, a), text);
1253+
ImGui::TextColored(ImVec4(r, g, b, a), text, NULL);
12541254
*/
12551255

12561256
/**
12571257
* Shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor();
12581258
*/
12591259
public static native void textDisabled(String text); /*
1260-
ImGui::TextDisabled(text);
1260+
ImGui::TextDisabled(text, NULL);
12611261
*/
12621262

12631263
/**
@@ -1266,21 +1266,21 @@ public static ImFont getFont() {
12661266
* yoy may need to set a size using SetNextWindowSize().
12671267
*/
12681268
public static native void textWrapped(String text); /*
1269-
ImGui::TextWrapped(text);
1269+
ImGui::TextWrapped(text, NULL);
12701270
*/
12711271

12721272
/**
12731273
* Display text+label aligned the same way as value+label widgets
12741274
*/
12751275
public static native void labelText(String label, String text); /*
1276-
ImGui::LabelText(label, text);
1276+
ImGui::LabelText(label, text, NULL);
12771277
*/
12781278

12791279
/**
12801280
* Shortcut for Bullet()+Text()
12811281
*/
12821282
public static native void bulletText(String text); /*
1283-
ImGui::BulletText(text);
1283+
ImGui::BulletText(text, NULL);
12841284
*/
12851285

12861286
// Widgets: Main
@@ -1323,65 +1323,65 @@ public static ImFont getFont() {
13231323
*/
13241324

13251325
public static native void image(int textureID, float sizeX, float sizeY); /*
1326-
ImGui::Image((ImTextureID)textureID, ImVec2(sizeX, sizeY));
1326+
ImGui::Image((ImTextureID)(intptr_t)textureID, ImVec2(sizeX, sizeY));
13271327
*/
13281328

13291329
public static native void image(int textureID, float sizeX, float sizeY, float uv0X, float uv0Y); /*
1330-
ImGui::Image((ImTextureID)textureID, ImVec2(sizeX, sizeY), ImVec2(uv0X, uv0Y));
1330+
ImGui::Image((ImTextureID)(intptr_t)textureID, ImVec2(sizeX, sizeY), ImVec2(uv0X, uv0Y));
13311331
*/
13321332

13331333
public static native void image(int textureID, float sizeX, float sizeY, float uv0X, float uv0Y, float uv1X, float uv1Y); /*
1334-
ImGui::Image((ImTextureID)textureID, ImVec2(sizeX, sizeY), ImVec2(uv0X, uv0Y), ImVec2(uv1X, uv1Y));
1334+
ImGui::Image((ImTextureID)(intptr_t)textureID, ImVec2(sizeX, sizeY), ImVec2(uv0X, uv0Y), ImVec2(uv1X, uv1Y));
13351335
*/
13361336

13371337
public static native void image(int textureID, float sizeX, float sizeY, float uv0X, float uv0Y, float uv1X, float uv1Y, float tintColorR, float tintColorG, float tintColorB, float tintColorA); /*
1338-
ImGui::Image((ImTextureID)textureID, ImVec2(sizeX, sizeY), ImVec2(uv0X, uv0Y), ImVec2(uv1X, uv1Y), ImVec4(tintColorR, tintColorG, tintColorB, tintColorA));
1338+
ImGui::Image((ImTextureID)(intptr_t)textureID, ImVec2(sizeX, sizeY), ImVec2(uv0X, uv0Y), ImVec2(uv1X, uv1Y), ImVec4(tintColorR, tintColorG, tintColorB, tintColorA));
13391339
*/
13401340

13411341
public static native void image(int textureID, float sizeX, float sizeY, float uv0X, float uv0Y, float uv1X, float uv1Y, float tintColorR, float tintColorG, float tintColorB, float tintColorA, float borderR, float borderG, float borderB, float borderA); /*
1342-
ImGui::Image((ImTextureID)textureID, ImVec2(sizeX, sizeY), ImVec2(uv0X, uv0Y), ImVec2(uv1X, uv1Y), ImVec4(tintColorR, tintColorG, tintColorB, tintColorA), ImVec4(borderR, borderG, borderB, borderA));
1342+
ImGui::Image((ImTextureID)(intptr_t)textureID, ImVec2(sizeX, sizeY), ImVec2(uv0X, uv0Y), ImVec2(uv1X, uv1Y), ImVec4(tintColorR, tintColorG, tintColorB, tintColorA), ImVec4(borderR, borderG, borderB, borderA));
13431343
*/
13441344

13451345
/**
13461346
* {@code <0} framePadding uses default frame padding settings. 0 for no padding
13471347
*/
13481348
public static native boolean imageButton(int textureID, float sizeX, float sizeY); /*
1349-
return ImGui::ImageButton((ImTextureID)textureID, ImVec2(sizeX, sizeY));
1349+
return ImGui::ImageButton((ImTextureID)(intptr_t)textureID, ImVec2(sizeX, sizeY));
13501350
*/
13511351

13521352
/**
13531353
* {@code <0} framePadding uses default frame padding settings. 0 for no padding
13541354
*/
13551355
public static native boolean imageButton(int textureID, float sizeX, float sizeY, float uv0X, float uv0Y); /*
1356-
return ImGui::ImageButton((ImTextureID)textureID, ImVec2(sizeX, sizeY), ImVec2(uv0X, uv0Y));
1356+
return ImGui::ImageButton((ImTextureID)(intptr_t)textureID, ImVec2(sizeX, sizeY), ImVec2(uv0X, uv0Y));
13571357
*/
13581358

13591359
/**
13601360
* {@code <0} framePadding uses default frame padding settings. 0 for no padding
13611361
*/
13621362
public static native boolean imageButton(int textureID, float sizeX, float sizeY, float uv0X, float uv0Y, float uv1X, float uv1Y); /*
1363-
return ImGui::ImageButton((ImTextureID)textureID, ImVec2(sizeX, sizeY), ImVec2(uv0X, uv0Y), ImVec2(uv1X, uv1Y));
1363+
return ImGui::ImageButton((ImTextureID)(intptr_t)textureID, ImVec2(sizeX, sizeY), ImVec2(uv0X, uv0Y), ImVec2(uv1X, uv1Y));
13641364
*/
13651365

13661366
/**
13671367
* {@code <0} framePadding uses default frame padding settings. 0 for no padding
13681368
*/
13691369
public static native boolean imageButton(int textureID, float sizeX, float sizeY, float uv0X, float uv0Y, float uv1X, float uv1Y, int framePadding); /*
1370-
return ImGui::ImageButton((ImTextureID)textureID, ImVec2(sizeX, sizeY), ImVec2(uv0X, uv0Y), ImVec2(uv1X, uv1Y), framePadding);
1370+
return ImGui::ImageButton((ImTextureID)(intptr_t)textureID, ImVec2(sizeX, sizeY), ImVec2(uv0X, uv0Y), ImVec2(uv1X, uv1Y), framePadding);
13711371
*/
13721372

13731373
/**
13741374
* {@code <0} framePadding uses default frame padding settings. 0 for no padding
13751375
*/
13761376
public static native boolean imageButton(int textureID, float sizeX, float sizeY, float uv0X, float uv0Y, float uv1X, float uv1Y, int framePadding, float bgColorR, float bgColorG, float bgColorB, float bgColorA); /*
1377-
return ImGui::ImageButton((ImTextureID)textureID, ImVec2(sizeX, sizeY), ImVec2(uv0X, uv0Y), ImVec2(uv1X, uv1Y), framePadding, ImVec4(bgColorR, bgColorG, bgColorB, bgColorA));
1377+
return ImGui::ImageButton((ImTextureID)(intptr_t)textureID, ImVec2(sizeX, sizeY), ImVec2(uv0X, uv0Y), ImVec2(uv1X, uv1Y), framePadding, ImVec4(bgColorR, bgColorG, bgColorB, bgColorA));
13781378
*/
13791379

13801380
/**
13811381
* {@code <0} framePadding uses default frame padding settings. 0 for no padding
13821382
*/
13831383
public static native boolean imageButton(int textureID, float sizeX, float sizeY, float uv0X, float uv0Y, float uv1X, float uv1Y, int framePadding, float bgColorR, float bgColorG, float bgColorB, float bgColorA, float tintR, float tintG, float tintB, float tintA); /*
1384-
return ImGui::ImageButton((ImTextureID)textureID, ImVec2(sizeX, sizeY), ImVec2(uv0X, uv0Y), ImVec2(uv1X, uv1Y), framePadding, ImVec4(bgColorR, bgColorG, bgColorB, bgColorA), ImVec4(tintR, tintG, tintB, tintA));
1384+
return ImGui::ImageButton((ImTextureID)(intptr_t)textureID, ImVec2(sizeX, sizeY), ImVec2(uv0X, uv0Y), ImVec2(uv1X, uv1Y), framePadding, ImVec4(bgColorR, bgColorG, bgColorB, bgColorA), ImVec4(tintR, tintG, tintB, tintA));
13851385
*/
13861386

13871387
public static boolean checkbox(String label, ImBool active) {
@@ -3247,19 +3247,19 @@ public static boolean inputScalarN(String label, int dataType, ImShort pData, in
32473247
// - TreeNode functions return true when the node is open, in which case you need to also call TreePop() when you are finished displaying the tree node contents.
32483248

32493249
public static native boolean treeNode(String label); /*
3250-
return ImGui::TreeNode(label);
3250+
return ImGui::TreeNode(label, NULL);
32513251
*/
32523252

32533253
/**
32543254
* Helper variation to easily decorelate the id from the displayed string.
32553255
* Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet().
32563256
*/
32573257
public static native boolean treeNode(String strId, String label); /*
3258-
return ImGui::TreeNode(strId, label);
3258+
return ImGui::TreeNode(strId, label, NULL);
32593259
*/
32603260

32613261
public static native boolean treeNode(long ptrId, String label); /*
3262-
return ImGui::TreeNode((void*)ptrId, label);
3262+
return ImGui::TreeNode((void*)ptrId, label, NULL);
32633263
*/
32643264

32653265
public static native boolean treeNodeEx(String label); /*
@@ -3271,11 +3271,11 @@ public static boolean inputScalarN(String label, int dataType, ImShort pData, in
32713271
*/
32723272

32733273
public static native boolean treeNodeEx(String strId, int imGuiTreeNodeFlags, String label); /*
3274-
return ImGui::TreeNodeEx(strId, imGuiTreeNodeFlags, label);
3274+
return ImGui::TreeNodeEx(strId, imGuiTreeNodeFlags, label, NULL);
32753275
*/
32763276

32773277
public static native boolean treeNodeEx(int ptrId, int imGuiTreeNodeFlags, String label); /*
3278-
return ImGui::TreeNodeEx((void*)(intptr_t)ptrId, imGuiTreeNodeFlags, label);
3278+
return ImGui::TreeNodeEx((void*)(intptr_t)ptrId, imGuiTreeNodeFlags, label, NULL);
32793279
*/
32803280

32813281
/**
@@ -3647,7 +3647,7 @@ public static boolean menuItem(String label, String shortcut, ImBool pSelected,
36473647
* Set a text-only tooltip, typically use with ImGui::IsItemHovered(). override any previous call to SetTooltip().
36483648
*/
36493649
public static native void setTooltip(String text); /*
3650-
ImGui::SetTooltip(text);
3650+
ImGui::SetTooltip(text, NULL);
36513651
*/
36523652

36533653
// Popups, Modals
@@ -4065,7 +4065,7 @@ public static boolean beginTabItem(String label, ImBool pOpen, int imGuiTabBarFl
40654065
* Pass text data straight to log (without being displayed)
40664066
*/
40674067
public static native void logText(String text); /*
4068-
ImGui::LogText(text);
4068+
ImGui::LogText(text, NULL);
40694069
*/
40704070

40714071
// Drag and Drop

0 commit comments

Comments
 (0)