diff options
Diffstat (limited to 'src/texture')
| -rw-r--r-- | src/texture/texture.c | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/src/texture/texture.c b/src/texture/texture.c index 9ddf441..37e38e9 100644 --- a/src/texture/texture.c +++ b/src/texture/texture.c @@ -246,6 +246,8 @@ void honey_texture_framebuffer_object_new(unsigned int* destination,                                            honey_texture* depth,                                            int width, int height)  { +    glBindTexture(GL_TEXTURE_2D, 0); +          glGenFramebuffers(1, destination);      glBindFramebuffer(GL_FRAMEBUFFER, *destination); | 
