gl: remove unused prints
This commit is contained in:
parent
cc3e50611e
commit
2adb23c01f
|
@ -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,
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue