• Zebediah Figura's avatar
    dxgi: Introduce IWineDXGIDeviceParent::register_swapchain_texture() and use it… · 4413e949
    Zebediah Figura authored
    dxgi: Introduce IWineDXGIDeviceParent::register_swapchain_texture() and use it in IDXGIDevice::CreateSurface().
    
    Instead of having d3d11 create the wined3d texture, create it in dxgi instead,
    and let d3d11 create a d3d_texture2d object to wrap it.
    
    This is a step towards getting rid of the create_swapchain_texture() callback,
    which is mildly difficult to work with and conceptually complex.
    4413e949
device.c 20 KB