File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
imgui-binding/src/main/java/imgui Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,6 @@ public final class ImDrawData implements ImDestroyable {
22
22
private ByteBuffer idxBuffer = ByteBuffer .allocateDirect (SIZEOF_IM_DRAW_IDX * FACTOR ).order (ByteOrder .nativeOrder ());
23
23
private ByteBuffer vtxBuffer = ByteBuffer .allocateDirect (SIZEOF_IM_DRAW_VERT * FACTOR ).order (ByteOrder .nativeOrder ());
24
24
25
- /**
26
- * This class will create a native structure.
27
- * Call {@link #destroy()} method to manually free used memory.
28
- */
29
- public ImDrawData () {
30
- ImGui .touch ();
31
- ptr = nCreate ();
32
- }
33
-
34
25
ImDrawData (final long ptr ) {
35
26
this .ptr = ptr ;
36
27
}
@@ -55,11 +46,6 @@ public void destroy() {
55
46
imDrawDataPtrID = env->GetFieldID(jImDrawDataClass, "ptr", "J");
56
47
*/
57
48
58
- private native long nCreate (); /*
59
- ImDrawData* imDrawData = new ImDrawData();
60
- return (intptr_t)imDrawData;
61
- */
62
-
63
49
private native void nDestroy (long ptr ); /*
64
50
delete (ImDrawData*)ptr;
65
51
*/
You can’t perform that action at this time.
0 commit comments