Cleanup of rendering code for images, there's functions not needed anymore

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
This commit is contained in:
Alexis Maiquez 2022-11-01 05:43:18 +01:00
parent e377960a87
commit 082af30c63
2 changed files with 0 additions and 21 deletions

View File

@ -293,24 +293,6 @@ void CImage::pinpongFramebuffer (CFBO** drawTo, ITexture** asInput)
this->m_currentSubFBO = currentMainFBO;
}
void CImage::simpleRender ()
{
ITexture* input = this->getTexture ();
// a simple material renders directly to the screen
auto cur = this->m_material->getPasses ().begin ();
auto end = this->m_material->getPasses ().end ();
glColorMask (true, true, true, false);
for (; cur != end; cur ++)
(*cur)->render (this->getScene ()->getFBO (), input, *this->getSceneSpacePosition (), *this->getTexCoordPass (), this->m_modelViewProjectionScreen);
}
void CImage::complexRender ()
{
}
void CImage::render ()
{
// do not try to render something that did not initialize successfully

View File

@ -59,9 +59,6 @@ namespace WallpaperEngine::Render::Objects
protected:
static const std::string Type;
void simpleRender ();
void complexRender ();
private:
ITexture* m_texture;
GLuint m_sceneSpacePosition;