we don't need that probably

This commit is contained in:
turanszkij
2018-04-19 13:54:08 +01:00
parent c054009f1b
commit 2be28b0dba
-5
View File
@@ -136,11 +136,6 @@ void Renderable2DComponent::Compose()
fx.presentFullScreen = true;
fx.blendFlag = BLENDMODE_PREMULTIPLIED;
GPUResource* res[] = {
rtFinal.GetTexture()
};
wiRenderer::GetDevice()->TransitionBarrier(res, 1, RESOURCE_STATE_RENDER_TARGET, RESOURCE_STATE_PIXEL_SHADER_RESOURCE, GRAPHICSTHREAD_IMMEDIATE);
wiImage::Draw(rtFinal.GetTexture(), fx, GRAPHICSTHREAD_IMMEDIATE);
RenderableComponent::Compose();