Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 908 vs 909 for /trunk/Source Code/Rendering/PostFX/CustomOperators/PostAAPreRenderOperator.cpp

Diff revisions: vs.
  @@ -19,8 +19,9 @@
19 19 _postAASamples(0),
20 20 _idleCount(0)
21 21 {
22 - _samplerCopy = _context.allocateRT("PostAA");
23 - _samplerCopy._rt->addAttachment(parent.outputRT().getDescriptor(RTAttachment::Type::Colour, 0), RTAttachment::Type::Colour, 0);
22 + _samplerCopy = _context.allocateRT(vec2<U16>(parent.inputRT().getWidth(), parent.inputRT().getHeight()), "PostAA");
23 + _samplerCopy._rt->addAttachment(parent.outputRT().getAttachment(RTAttachment::Type::Colour, 0), RTAttachment::Type::Colour, 0);
24 + _samplerCopy._rt->create();
24 25
25 26 ResourceDescriptor fxaa("FXAA");
26 27 fxaa.setThreadedLoading(false);