From 2adb23c01f553a390f197a2787f502616d7e13c7 Mon Sep 17 00:00:00 2001 From: chyyran Date: Wed, 8 Feb 2023 21:32:09 -0500 Subject: [PATCH] gl: remove unused prints --- librashader-runtime-gl/src/gl/gl3/framebuffer.rs | 2 -- librashader-runtime-gl/src/gl/gl46/framebuffer.rs | 2 -- 2 files changed, 4 deletions(-) diff --git a/librashader-runtime-gl/src/gl/gl3/framebuffer.rs b/librashader-runtime-gl/src/gl/gl3/framebuffer.rs index cf63acc..c704aff 100644 --- a/librashader-runtime-gl/src/gl/gl3/framebuffer.rs +++ b/librashader-runtime-gl/src/gl/gl3/framebuffer.rs @@ -209,8 +209,6 @@ impl FramebufferInterface for Gl3Framebuffer { if status != gl::FRAMEBUFFER_COMPLETE { match status { gl::FRAMEBUFFER_UNSUPPORTED => { - eprintln!("unsupported fbo"); - gl::FramebufferTexture2D( gl::FRAMEBUFFER, gl::COLOR_ATTACHMENT0, diff --git a/librashader-runtime-gl/src/gl/gl46/framebuffer.rs b/librashader-runtime-gl/src/gl/gl46/framebuffer.rs index d2895c8..d674d82 100644 --- a/librashader-runtime-gl/src/gl/gl46/framebuffer.rs +++ b/librashader-runtime-gl/src/gl/gl46/framebuffer.rs @@ -155,8 +155,6 @@ impl FramebufferInterface for Gl46Framebuffer { if status != gl::FRAMEBUFFER_COMPLETE { match status { gl::FRAMEBUFFER_UNSUPPORTED => { - eprintln!("unsupported fbo"); - gl::NamedFramebufferTexture(fb.handle, gl::COLOR_ATTACHMENT0, 0, 0); gl::DeleteTextures(1, &fb.image); gl::CreateTextures(gl::TEXTURE_2D, 1, &mut fb.image);