d3d1x: destroy native_display on adapter destruction
authorLuca Barbieri <luca@luca-barbieri.com>
Wed, 22 Sep 2010 14:29:36 +0000 (16:29 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Wed, 22 Sep 2010 17:36:27 +0000 (19:36 +0200)
src/gallium/state_trackers/d3d1x/dxgi/src/dxgi_native.cpp

index c9db7b666443c2daf278e758f43b28af6ce1778f..24a812ff4ce05f9e9a71e75e68befa111b3496bc 100644 (file)
@@ -239,6 +239,7 @@ struct GalliumDXGIAdapter
 
        ~GalliumDXGIAdapter()
        {
+               display->destroy(display);
                free(configs);
                free(connectors);
        }