d3d11: advertise IDXGIDevice1, not just IDXGIDevice
authorLuca Barbieri <luca@luca-barbieri.com>
Mon, 27 Sep 2010 13:34:26 +0000 (15:34 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Mon, 27 Sep 2010 20:20:52 +0000 (22:20 +0200)
Fixes failure to create device in DirectX SDK samples.

src/gallium/state_trackers/d3d1x/d3d1xstutil/include/d3d1xstutil.h

index 2b613b82d118a608782617f3995ab3457be978ad..af355f022720c388cb3a89636de6c282402c0fe2 100644 (file)
@@ -1008,7 +1008,7 @@ COM_INTERFACE(IDXGIAdapter1, IDXGIAdapter)
 COM_INTERFACE(IDXGIFactory1, IDXGIFactory)
 
 template<typename Base>
-struct GalliumDXGIDevice : public GalliumMultiPrivateDataComObject<Base, IDXGIDevice>
+struct GalliumDXGIDevice : public GalliumMultiPrivateDataComObject<Base, IDXGIDevice1>
 {
        ComPtr<IDXGIAdapter> adapter;
        int priority;