Exemple #1
0
void
TargetMapWindow::OnDestroy()
{
  SetTerrain(nullptr);
  SetTopograpgy(nullptr);
  SetAirspaces(nullptr);
  SetWaypoints(nullptr);

#ifndef ENABLE_OPENGL
  buffer_canvas.Destroy();
#endif

  BufferWindow::OnDestroy();
}
Exemple #2
0
bool
TargetMapWindow::on_destroy()
{
  SetTerrain(NULL);
  SetTopograpgy(NULL);
  SetAirspaces(NULL);
  SetWaypoints(NULL);

#ifndef ENABLE_OPENGL
  buffer_canvas.reset();
  stencil_canvas.reset();
#endif

  BufferWindow::on_destroy();
  return true;
}
Exemple #3
0
void
TargetMapWindow::on_destroy()
{
  SetTerrain(NULL);
  SetTopograpgy(NULL);
  SetAirspaces(NULL);
  SetWaypoints(NULL);

#ifndef ENABLE_OPENGL
  buffer_canvas.reset();

  if (!IsAncientHardware())
    stencil_canvas.reset();
#endif

  BufferWindow::on_destroy();
}
Exemple #4
0
void
MapWindow::OnDestroy()
{
#ifdef HAVE_NOAA
    SetNOAAStore(nullptr);
#endif
    airspace_renderer.Clear();
    SetWaypoints(nullptr);
    SetTopography(nullptr);
    SetTerrain(nullptr);
    SetWeather(nullptr);

#ifndef ENABLE_OPENGL
    buffer_canvas.Destroy();
#endif

    DoubleBufferWindow::OnDestroy();
}
void
MapWindow::OnDestroy()
{
  SetMarks(NULL);
  airspace_renderer.Clear();
  SetWaypoints(NULL);
  SetTopography(NULL);
  SetTerrain(NULL);
  SetWeather(NULL);

#ifndef ENABLE_OPENGL
  buffer_canvas.reset();

  if (!IsAncientHardware())
    stencil_canvas.reset();
#endif

  DoubleBufferWindow::OnDestroy();
}