diff --git a/rendertarget.cc b/rendertarget.cc index 49c1863..cfd8084 100644 --- a/rendertarget.cc +++ b/rendertarget.cc @@ -55,10 +55,12 @@ T_Rendertarget T_RendertargetSetup::create( ) glGenFramebuffers( 1 , &id ); glBindFramebuffer( GL_FRAMEBUFFER , id ); for ( auto i = 0u ; i < nca ; i ++ ) { +#ifdef INTRUSIVE_TRACES printf( "init fb %p att %d tx %p level %d\n" , this , i , colorAttachments_[ i ].texture , colorAttachments_[ i ].level ); +#endif glFramebufferTexture( GL_FRAMEBUFFER , GL_COLOR_ATTACHMENT0 + i , colorAttachments_[ i ].texture->id( ) , diff --git a/texture.cc b/texture.cc index 1ea5fde..7ac3023 100644 --- a/texture.cc +++ b/texture.cc @@ -62,7 +62,6 @@ T_Texture::T_Texture( uint32_t w = width , h = height; for ( auto i = 0u ; i < levels ; i ++ ) { - printf( "init tx %p l %d w %d h %d\n" , this , i , w , h ); glTexImage2D( GL_TEXTURE_2D , i , ifmt , w , h , 0 , fmt , dt , nullptr ); w >>= 1; h >>= 1;