Fixed FXAA input
This commit is contained in:
parent
ba046ff603
commit
2ae430dc49
1 changed files with 1 additions and 1 deletions
2
fxaa.cc
2
fxaa.cc
|
@ -33,7 +33,7 @@ void T_FXAAPass::render( )
|
||||||
U_PARAMETERS ,
|
U_PARAMETERS ,
|
||||||
};
|
};
|
||||||
auto& tm( Globals::Textures( ) );
|
auto& tm( Globals::Textures( ) );
|
||||||
tm.bind( 0 , txInput_ );
|
tm.bind( 0 , txInput_ , *tm.sampler( "linear-border" ) );
|
||||||
|
|
||||||
const auto id( program_.program( E_ShaderType::FRAGMENT ) );
|
const auto id( program_.program( E_ShaderType::FRAGMENT ) );
|
||||||
program_.enable( );
|
program_.enable( );
|
||||||
|
|
Loading…
Reference in a new issue