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 | fd4699c84faccb60495334d4e111a3b9e31bc361 (patch) | |
| tree | 37e4ec442f159f6c63ee6db560e4ff23df44bad1 /src/video_core/rasterizer_interface.h | |
| parent | be5f1dde7373434f9d3091ba5d918b1be77ba675 (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; |
