Closed godbyk closed 6 years ago
It's probably better to move it into the header file, but that entails moving the #ifdef RM_USE_D3D11
code there, too.
If it (along with the #ifdef
) was moved into the header file then you could #include
the header and be able to expect the class to be defined (as a full implementation if D3D11 is enabled or a mock class otherwise).
But I went for the quick fix instead.
Fixes this compiler error by providing a dummy
RenderManagerD3D11Base
class for non-D3D systems.