removed old legacy code from openglbackend (had already been commented out)

This commit is contained in:
itsmattkc
2019-11-27 09:52:20 +10:00
parent 955fac1fbb
commit 45d17810d5
@@ -40,13 +40,6 @@ bool OpenGLBackend::InitInternal()
master_texture_ = std::make_shared<OpenGLTexture>();
master_texture_->Create(share_ctx, params().effective_width(), params().effective_height(), params().format());
/*
// Create internal FBO for copying textures
copy_buffer_.Create(share_ctx);
copy_buffer_.Attach(master_texture_);
copy_pipeline_ = OpenGLShader::CreateDefault();
*/
return true;
}
@@ -54,9 +47,7 @@ void OpenGLBackend::CloseInternal()
{
Decompile();
//copy_buffer_.Destroy();
master_texture_ = nullptr;
//copy_pipeline_ = nullptr;
}
OpenGLTexturePtr OpenGLBackend::GetCachedFrameAsTexture(const rational &time)