gl: remove unused prints

This commit is contained in:
chyyran 2023-02-08 21:32:09 -05:00
parent cc3e50611e
commit 2adb23c01f
2 changed files with 0 additions and 4 deletions

View file

@ -209,8 +209,6 @@ impl FramebufferInterface for Gl3Framebuffer {
if status != gl::FRAMEBUFFER_COMPLETE { if status != gl::FRAMEBUFFER_COMPLETE {
match status { match status {
gl::FRAMEBUFFER_UNSUPPORTED => { gl::FRAMEBUFFER_UNSUPPORTED => {
eprintln!("unsupported fbo");
gl::FramebufferTexture2D( gl::FramebufferTexture2D(
gl::FRAMEBUFFER, gl::FRAMEBUFFER,
gl::COLOR_ATTACHMENT0, gl::COLOR_ATTACHMENT0,

View file

@ -155,8 +155,6 @@ impl FramebufferInterface for Gl46Framebuffer {
if status != gl::FRAMEBUFFER_COMPLETE { if status != gl::FRAMEBUFFER_COMPLETE {
match status { match status {
gl::FRAMEBUFFER_UNSUPPORTED => { gl::FRAMEBUFFER_UNSUPPORTED => {
eprintln!("unsupported fbo");
gl::NamedFramebufferTexture(fb.handle, gl::COLOR_ATTACHMENT0, 0, 0); gl::NamedFramebufferTexture(fb.handle, gl::COLOR_ATTACHMENT0, 0, 0);
gl::DeleteTextures(1, &fb.image); gl::DeleteTextures(1, &fb.image);
gl::CreateTextures(gl::TEXTURE_2D, 1, &mut fb.image); gl::CreateTextures(gl::TEXTURE_2D, 1, &mut fb.image);