split fbo and texture into two separate objects

This commit is contained in:
itsmattkc
2019-08-27 15:36:13 +10:00
parent 46ea071b99
commit 4b5516abb5
14 changed files with 459 additions and 271 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
#include "alphaover.h"
#include "render/rendertypes.h"
#include "render/rendertexture.h"
AlphaOverBlend::AlphaOverBlend()
{
@@ -35,5 +35,5 @@ void AlphaOverBlend::Process(const rational &time)
//GLuint base_tex = base_input_->get_value(time).value<GLuint>();
// FIXME: Does nothing
texture_output()->set_value(blend_input()->get_value(time).value<RenderTexture>());
texture_output()->set_value(QVariant::fromValue(blend_input()->get_value(time).value<RenderTexturePtr>()));
}