diff --git a/implot.cpp b/implot.cpp index 5f6b9ce..c3407a4 100644 --- a/implot.cpp +++ b/implot.cpp @@ -88,6 +88,7 @@ You can read releases logs https://github.com/epezent/implot/releases for more d #ifndef GImPlot ImPlotContext* GImPlot = NULL; #endif + //----------------------------------------------------------------------------- // Struct Implementations //----------------------------------------------------------------------------- diff --git a/implot_internal.h b/implot_internal.h index 802cf35..edb3a38 100644 --- a/implot_internal.h +++ b/implot_internal.h @@ -92,6 +92,7 @@ struct ImPlotNextPlotData; //----------------------------------------------------------------------------- // [SECTION] Context Pointer //----------------------------------------------------------------------------- + #ifndef GImPlot extern IMPLOT_API ImPlotContext* GImPlot; // Current implicit context pointer #endif