Replaced another global function reference.
This commit is contained in:
parent
4d6a9726b6
commit
abbd54ffa0
@ -178,7 +178,7 @@ public:
|
|||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
class Gaussian6HBlurShader : public TextureShader<Gaussian6HBlurShader, 1,
|
class Gaussian6HBlurShader : public TextureShader<Gaussian6HBlurShader, 1,
|
||||||
core::vector2df, float>
|
core::vector2df, float>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Gaussian6HBlurShader()
|
Gaussian6HBlurShader()
|
||||||
@ -1105,10 +1105,8 @@ void PostProcessing::renderHorizontalBlur(FrameBuffer &in_fbo,
|
|||||||
{
|
{
|
||||||
auxiliary.Bind();
|
auxiliary.Bind();
|
||||||
|
|
||||||
Gaussian6HBlurShader::getInstance()
|
Gaussian6HBlurShader::getInstance()->render(in_fbo, in_fbo.getWidth(),
|
||||||
->setTextureUnits(in_fbo.getRTT()[0]);
|
in_fbo.getHeight(), 2.0f );
|
||||||
DrawFullScreenEffect<Gaussian6HBlurShader>
|
|
||||||
(core::vector2df(inv_width, inv_height), 2.0f);
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
in_fbo.Bind();
|
in_fbo.Bind();
|
||||||
|
Loading…
Reference in New Issue
Block a user