From 947c2c02e493b3014eda66b504fc616592695a95 Mon Sep 17 00:00:00 2001 From: Evan Pezent Date: Sun, 8 May 2022 10:40:16 -0500 Subject: [PATCH] gaurd IMPLOT_DISABLE_OBSOLETE_FUNCTIONS in implot_demo.cpp --- implot_demo.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/implot_demo.cpp b/implot_demo.cpp index e5f7a88..300559f 100644 --- a/implot_demo.cpp +++ b/implot_demo.cpp @@ -23,7 +23,10 @@ // ImPlot v0.13 WIP // We define this so that the demo does not accidentally use deprecated API +// We define this so that the demo does not accidentally use deprecated API +#ifndef IMPLOT_DISABLE_OBSOLETE_FUNCTIONS #define IMPLOT_DISABLE_OBSOLETE_FUNCTIONS +#endif #include "implot.h" #include