fix: Remove debug popup function in release mode to avoid build errors
This commit is contained in:
parent
ba12f7aec9
commit
54266bf63b
@ -49,6 +49,8 @@ namespace hex::plugin::builtin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(DEBUG)
|
||||||
|
|
||||||
static void drawDebugPopup() {
|
static void drawDebugPopup() {
|
||||||
static bool showImGuiDemo = false;
|
static bool showImGuiDemo = false;
|
||||||
static bool showImPlotDemo = false;
|
static bool showImPlotDemo = false;
|
||||||
@ -125,6 +127,8 @@ namespace hex::plugin::builtin {
|
|||||||
ImPlot::ShowDemoWindow(&showImPlotDemo);
|
ImPlot::ShowDemoWindow(&showImPlotDemo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
static bool s_drawDragDropOverlay = false;
|
static bool s_drawDragDropOverlay = false;
|
||||||
static void drawDragNDropOverlay() {
|
static void drawDragNDropOverlay() {
|
||||||
if (!s_drawDragDropOverlay)
|
if (!s_drawDragDropOverlay)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user