Handle VideoSoftware's present fallback better

Not a good idea to abuse bSupportsPostProcessing
This commit is contained in:
Scott Mansell
2023-01-28 16:23:30 +13:00
parent 26e00c3bb4
commit f158ff300b
6 changed files with 23 additions and 6 deletions

View File

@ -59,6 +59,9 @@ public:
virtual bool IsHeadless() const = 0;
// Does the backend support drawing a UI or doing post-processing
virtual bool SupportsUtilityDrawing() const { return true; }
virtual void SetPipeline(const AbstractPipeline* pipeline) {}
virtual void SetScissorRect(const MathUtil::Rectangle<int>& rc) {}
virtual void SetTexture(u32 index, const AbstractTexture* texture) {}