diff --git a/DDrawCompat/Common/CompatQueryInterface.h b/DDrawCompat/Common/CompatQueryInterface.h index 9398082..a761d19 100644 --- a/DDrawCompat/Common/CompatQueryInterface.h +++ b/DDrawCompat/Common/CompatQueryInterface.h @@ -91,13 +91,6 @@ namespace Compat #undef DEFINE_INTF_ID - template - void queryInterface(Intf& origIntf, Intf*& newIntf) - { - newIntf = &origIntf; - newIntf->lpVtbl->AddRef(newIntf); - } - template void queryInterface(IUnknown& origIntf, NewIntf*& newIntf) {