mirror of
https://github.com/libretro/beetle-psx-libretro.git
synced 2024-11-27 19:00:35 +00:00
Cleanups
This commit is contained in:
parent
3db19cccff
commit
1d3a5944ee
@ -11,7 +11,7 @@ static void InitializeWithColorTexture(Framebuffer *fb, Texture* color_texture)
|
||||
fb->id = id;
|
||||
fb->_color_texture = color_texture;
|
||||
|
||||
fb->bind();
|
||||
glBindFramebuffer(GL_DRAW_FRAMEBUFFER, fb->id);
|
||||
|
||||
glFramebufferTexture( GL_DRAW_FRAMEBUFFER,
|
||||
GL_COLOR_ATTACHMENT0,
|
||||
@ -52,8 +52,3 @@ Framebuffer::~Framebuffer()
|
||||
{
|
||||
glDeleteFramebuffers(1, &this->id);
|
||||
}
|
||||
|
||||
void Framebuffer::bind()
|
||||
{
|
||||
glBindFramebuffer(GL_DRAW_FRAMEBUFFER, this->id);
|
||||
}
|
||||
|
@ -13,8 +13,6 @@ public:
|
||||
Framebuffer(Texture* color_texture);
|
||||
Framebuffer(Texture* color_texture, Texture* depth_texture);
|
||||
~Framebuffer();
|
||||
|
||||
void bind();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user