summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-09-22 16:29:36 +0200
committerLuca Barbieri <luca@luca-barbieri.com>2010-09-22 19:36:27 +0200
commit6ce098631abf465e89b12d10c4e6713b9c843422 (patch)
treea56cf25ecd25c9dde0beb8510f26d251ec743144 /src
parent9ec0b2a45e18c045fd3dbcdf846fad7faf97494c (diff)
d3d1x: destroy native_display on adapter destruction
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/d3d1x/dxgi/src/dxgi_native.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/d3d1x/dxgi/src/dxgi_native.cpp b/src/gallium/state_trackers/d3d1x/dxgi/src/dxgi_native.cpp
index c9db7b6664..24a812ff4c 100644
--- a/src/gallium/state_trackers/d3d1x/dxgi/src/dxgi_native.cpp
+++ b/src/gallium/state_trackers/d3d1x/dxgi/src/dxgi_native.cpp
@@ -239,6 +239,7 @@ struct GalliumDXGIAdapter
~GalliumDXGIAdapter()
{
+ display->destroy(display);
free(configs);
free(connectors);
}