diff options
Diffstat (limited to 'src/video_core/renderer_base.h')
-rw-r--r-- | src/video_core/renderer_base.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/video_core/renderer_base.h b/src/video_core/renderer_base.h index f18917da3..28015aba9 100644 --- a/src/video_core/renderer_base.h +++ b/src/video_core/renderer_base.h @@ -15,7 +15,10 @@ public: /// Used to reference a framebuffer enum kFramebuffer { kFramebuffer_VirtualXFB = 0, kFramebuffer_EFB, kFramebuffer_Texture }; - /// Struct describing framebuffer metadata + /** + * Struct describing framebuffer metadata + * TODO(bunnei): This struct belongs in the GPU code, but we don't have a good place for it yet. + */ struct FramebufferInfo { enum class PixelFormat : u32 { ABGR8 = 1, @@ -44,7 +47,7 @@ public: virtual ~RendererBase() {} /// Swap buffers (render frame) - virtual void SwapBuffers() = 0; + virtual void SwapBuffers(const FramebufferInfo& framebuffer_info) = 0; /** * Set the emulator window to use for renderer |