removed double buffered textures
These functions never ended up getting used, and have the potential to become confusing in implementation.
This commit is contained in:
@@ -98,16 +98,6 @@ void OpenGLFramebuffer::Attach(OpenGLTexturePtr texture)
|
||||
AttachInternal(texture_->texture(), false);
|
||||
}
|
||||
|
||||
void OpenGLFramebuffer::AttachBackBuffer(OpenGLTexturePtr texture)
|
||||
{
|
||||
if (context_ == nullptr) {
|
||||
return;
|
||||
}
|
||||
|
||||
texture_ = texture;
|
||||
AttachInternal(texture_->back_texture(), true);
|
||||
}
|
||||
|
||||
void OpenGLFramebuffer::Detach()
|
||||
{
|
||||
if (context_ == nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user