- moved DrawScene to GLRenderer and call it through std::function.

This was the last remaining virtual override of HWDrawInfo.
With it removed this type is now fully API independent.
This commit is contained in:
Christoph Oelckers 2018-10-29 12:54:10 +01:00
commit 893e08df70
9 changed files with 28 additions and 31 deletions

View file

@ -379,11 +379,6 @@ IDataBuffer *OpenGLFrameBuffer::CreateDataBuffer(int bindingpoint, bool ssbo)
return new GLDataBuffer(bindingpoint, ssbo);
}
HWDrawInfo *OpenGLFrameBuffer::CreateDrawInfo()
{
return new FDrawInfo;
}
void OpenGLFrameBuffer::TextureFilterChanged()
{
if (GLRenderer != NULL && GLRenderer->mSamplerManager != NULL) GLRenderer->mSamplerManager->SetTextureFilterMode();