From 8bb877ad57e7e41d928408e81f4e8cca63e171f7 Mon Sep 17 00:00:00 2001 From: sanine-a Date: Sun, 1 Nov 2020 13:04:05 -0600 Subject: add basic node types --- src/texture/texture.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/texture') 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); -- cgit v1.2.1