src/2D.cpp
void TwoDDeactivate ()
{
    // Unregister the drawing callback
    // This actually is a deprecated call, but it is at the same time the recommended way to draw labels,
    // see https://developer.x-plane.com/code-sample/coachmarks/
    XPLMUnregisterDrawCallback(CPLabelDrawing, xplm_Phase_Window, 1, nullptr);
}
/// Deactivate actual label drawing, esp. stop drawing callback
Deactivate actual label drawing, esp. stop drawing callback
Deactivate actual label drawing esp . stop drawing callback
void TwoDDeactivate ()
{
    XPLMUnregisterDrawCallback(CPLabelDrawing, xplm_Phase_Window, 1, nullptr);
}
void TwoDDeactivate ( ) { XPLMUnregisterDrawCallback ( CPLabelDrawing , xplm_Phase_Window , 1 , nullptr ) ; }
Deactivate actual label drawing, esp.
Deactivate actual label drawing esp .
// Unregister the drawing callback // This actually is a deprecated call, but it is at the same time the recommended way to draw labels, // see https://developer.x-plane.com/code-sample/coachmarks/