Closed vbonczak closed 3 years ago
RenderContext should (ideally) be an abstract class, and its SDL implementation a derived class. This would solve the design problem of having to call a dummy constructor to run tests (with MockRenderContext)
RenderContext should (ideally) be an abstract class, and its SDL implementation a derived class. This would solve the design problem of having to call a dummy constructor to run tests (with MockRenderContext)