render: only use cache in offline mode

This commit is contained in:
itsmattkc
2022-09-23 12:31:17 -07:00
parent b19730b1f5
commit 825b06f7a7
4 changed files with 10 additions and 1 deletions
+2
View File
@@ -67,6 +67,8 @@ protected:
virtual void ConvertToReferenceSpace(TexturePtr destination, TexturePtr source, const QString &input_cs) override;
virtual bool UseCache() const override;
private:
RenderProcessor(RenderTicketPtr ticket, Renderer* render_ctx, DecoderCache* decoder_cache, ShaderCache* shader_cache);