~om26er/ubuntu/oneiric/nux/sru-819721

« back to all changes in this revision

Viewing changes to NuxGraphics/GLResourceManager.cpp

  • Committer: Package Import Robot
  • Author(s): Didier Roche
  • Date: 2011-09-29 18:46:45 UTC
  • mfrom: (1.1.32 upstream)
  • Revision ID: package-import@ubuntu.com-20110929184645-60q3pr2vl3yfodz8
Tags: 1.14.0-0ubuntu1
* New upstream release.
  - compiz crashed with SIGSEGV in nux::WindowCompositor::FindKeyFocusArea()
    (LP: #845873)
  - compiz crashed with SIGSEGV in sigc::signal_base::impl() (LP: #831769)
  - can't maximize windows on second monitor and Qt windows displayed in
    wrong place (LP: #861341)
  - Dash - Dash should support drag and drop to external applications
    (LP: #857431)
  - Dash - When the Dash is re-opened and statefully displaying a previous
    query, it should be possible to add to the query by pressing the 'right
    arrow cursor key' (LP: #841828)
  - blacklist old geforce fx cards for unity-3d (LP: #769402)
* debian/control:
  - build-dep on libxinerama-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
 
47
47
  ResourceData::~ResourceData ()
48
48
  {
49
 
    GetGraphicsDisplay()->GetGraphicsEngine()->FlushCachedResourceData(this);
 
49
    // If the windows thread is deleted before any texture type resource, the
 
50
    // graphics display will not exist.
 
51
    GraphicsDisplay* display = GetGraphicsDisplay();
 
52
    if (display)
 
53
      display->GetGraphicsEngine()->FlushCachedResourceData(this);
50
54
  }
51
55
 
52
56
  int ResourceData::GetResourceIndex() const