sensics / OSVR-RenderManager

Apache License 2.0
64 stars 45 forks source link

Linux and macOS tweaks #335

Closed godbyk closed 6 years ago

godbyk commented 6 years ago

Fixes this compiler error by providing a dummy RenderManagerD3D11Base class for non-D3D systems.

godbyk commented 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.