diff options
author | Subv <subv2112@gmail.com> | 2018-06-06 23:54:25 -0500 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-07-03 16:56:44 -0500 |
commit | be51120d237cb551fae90fbfaebda41669c40403 (patch) | |
tree | 37e4ec442f159f6c63ee6db560e4ff23df44bad1 /src/video_core/rasterizer_interface.h | |
parent | 827bb08c91086e0e24edb82df79c9ed860baf836 (diff) |
GPU: Bind and clear the render target when the CLEAR_BUFFERS register is written to.
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
-rw-r--r-- | src/video_core/rasterizer_interface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h index 145e583344..499e84b892 100644 --- a/src/video_core/rasterizer_interface.h +++ b/src/video_core/rasterizer_interface.h @@ -19,6 +19,9 @@ public: /// Draw the current batch of vertex arrays virtual void DrawArrays() = 0; + /// Clear the current framebuffer + virtual void Clear() = 0; + /// Notify rasterizer that the specified Maxwell register has been changed virtual void NotifyMaxwellRegisterChanged(u32 method) = 0; |