浏览代码

ImGuiTextEditCallback was renamed/deprecated in Imgui 1.63 (08/2018)

Thibault LESCOAT 5 年之前
父节点
当前提交
780a5fbea5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/igl/opengl/glfw/imgui/ImGuiHelpers.h

+ 1 - 1
include/igl/opengl/glfw/imgui/ImGuiHelpers.h

@@ -58,7 +58,7 @@ inline bool ListBox(const char* label, int* idx, std::vector<std::string>& value
     static_cast<void*>(&values), values.size());
 }
 
-inline bool InputText(const char* label, std::string &str, ImGuiInputTextFlags flags = 0, ImGuiTextEditCallback callback = NULL, void* user_data = NULL)
+inline bool InputText(const char* label, std::string &str, ImGuiInputTextFlags flags = 0, ImGuiInputTextCallback callback = NULL, void* user_data = NULL)
 {
   char buf[1024];
   std::fill_n(buf, 1024, 0);