diff options
author | sanine-a <sanine.not@pm.me> | 2020-11-01 13:04:05 -0600 |
---|---|---|
committer | sanine-a <sanine.not@pm.me> | 2020-11-01 13:04:05 -0600 |
commit | 8bb877ad57e7e41d928408e81f4e8cca63e171f7 (patch) | |
tree | 5cc4a79a492bd3c7224070b3bd00aba512a9b053 /src/texture | |
parent | cf75cc42cd11c31ff9402751bec98ba607fd820f (diff) |
add basic node types
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); |