Skip to content

Commit 80fa63e

Browse files
Update backend.cpp
1 parent fd63a53 commit 80fa63e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/backend.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,6 @@ void DevTools::setupPlatform() {
6767
"geode::cocos::getMousePos"
6868
);
6969
#endif
70-
71-
// define geode's clipboard funcs for imgui
72-
ImGui::GetPlatformIO().Platform_GetClipboardTextFn = [](ImGuiContext* ctx) {
73-
return geode::utils::clipboard::read().c_str();
74-
};
75-
ImGui::GetPlatformIO().Platform_SetClipboardTextFn = [](ImGuiContext* ctx, const char* text) {
76-
geode::utils::clipboard::write(text);
77-
};
7870
}
7971

8072
#ifdef GEODE_IS_MOBILE

0 commit comments

Comments
 (0)