1
0
mirror of synced 2025-02-17 18:59:21 +01:00

fix: Remove debug popup function in release mode to avoid build errors

This commit is contained in:
WerWolv 2024-03-02 14:23:52 +01:00
parent ba12f7aec9
commit 54266bf63b

View File

@ -49,6 +49,8 @@ namespace hex::plugin::builtin {
}
}
#if defined(DEBUG)
static void drawDebugPopup() {
static bool showImGuiDemo = false;
static bool showImPlotDemo = false;
@ -125,6 +127,8 @@ namespace hex::plugin::builtin {
ImPlot::ShowDemoWindow(&showImPlotDemo);
}
#endif
static bool s_drawDragDropOverlay = false;
static void drawDragNDropOverlay() {
if (!s_drawDragDropOverlay)