[d3d11] Fix compiler error on GCC 10.3

This commit is contained in:
Philip Rebohle 2022-08-04 18:40:07 +02:00
parent 67c11e63e6
commit 37a2b02558
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
2 changed files with 2 additions and 4 deletions

View File

@ -22,8 +22,7 @@ namespace dxvk {
};
class D3D11DeferredContext : public D3D11CommonContext<D3D11DeferredContext> {
template<typename T>
friend class D3D11CommonContext;
friend class D3D11CommonContext<D3D11DeferredContext>;
public:
D3D11DeferredContext(

View File

@ -14,8 +14,7 @@ namespace dxvk {
class D3D11CommonTexture;
class D3D11ImmediateContext : public D3D11CommonContext<D3D11ImmediateContext> {
template<typename T>
friend class D3D11CommonContext;
friend class D3D11CommonContext<D3D11ImmediateContext>;
friend class D3D11SwapChain;
friend class D3D11VideoContext;
public: