From 50e9a654045374034d2b29e3604a6ed3da086d73 Mon Sep 17 00:00:00 2001 From: justin Date: Fri, 26 Dec 2025 16:04:45 +0000 Subject: [PATCH] Cleanup --- src/Framebuffer/Update.hs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Framebuffer/Update.hs b/src/Framebuffer/Update.hs index be13f0175..1ec3fd5b4 100644 --- a/src/Framebuffer/Update.hs +++ b/src/Framebuffer/Update.hs @@ -192,12 +192,7 @@ resizeFBOTO :: GLenum -> (FBO, TO) -> IO (FBO, TO) -resizeFBOTO wsize minfilt magfilt form (fbo, oldto) = do - glBindFramebuffer GL_FRAMEBUFFER (_unFBO fbo) - mglDelete glDeleteTextures $ _unTO oldto - to1 <- initializeTexture2D fbo GL_COLOR_ATTACHMENT0 wsize 1 minfilt magfilt form - checkFBO fbo - return (fbo, TO to1) +resizeFBOTO wsize = resizeFBOTO' wsize 1 resizeFBOTO' :: V2 Int ->