Rename ImGui#touch to ImGui#init

This commit is contained in:
SpaiR committed 2020-08-23 21:12:04 +03:00
1 parent 7bfa1b6195
commit dce574ef76
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ public final class ImGui {
* Method is used to initiate static instantiation (loading of the native libraries etc.). * Method is used to initiate static instantiation (loading of the native libraries etc.).
* Otherwise native libraries will be loaded on demand and natively mapped objects won't work. * Otherwise native libraries will be loaded on demand and natively mapped objects won't work.
*/ */
public static void touch() { public static void init() {
} }
private ImGui() { private ImGui() {
@@ -12,7 +12,7 @@ public abstract class ImGuiStruct {
public long ptr; public long ptr;
public ImGuiStruct(final long ptr) { public ImGuiStruct(final long ptr) {
ImGui.touch(); ImGui.init();
this.ptr = ptr; this.ptr = ptr;
} }
} }