Inconsistent naming related to RenderTarget/RenderTargetLayer between SFML and SDL binding
Opened this issue · 1 comments
Laguna1989 commented
Needs to be analyzed and named consistently. SDL and SFML work very differently under the hood, so this might cause some ripples throughout the jamtemplate
Laguna1989 commented
One starting point might be the GfxImpl
class.
- SFML calls
m_window.createRenderTarget()
(which returns aRenderTargetLayer
, which is asf::RenderTexture
) inGfxImpl::createZLayer()
- SDL calls
m_window.createRenderTarget()
(which returns aRenderTargetLayer
, which is aSDLRenderer
) in the constructor.
Basically RenderTargetLayer
means different things in SDL and SFML binding. This is inconsistent and should be reworked.