Less traces in textures/RT
This commit is contained in:
parent
df1b51781e
commit
96122a6487
2 changed files with 2 additions and 1 deletions
|
@ -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( ) ,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue