diff options
author | bunnei <bunneidev@gmail.com> | 2018-09-10 01:01:21 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-09-10 04:48:28 +0200 |
commit | 49b15af05437e665088105bd4873be478ad12b4b (patch) | |
tree | d98cbf1602f965349af120395350739dc6e204d7 /src/video_core/renderer_opengl/gl_rasterizer.h | |
parent | Merge pull request #1258 from tgsm/fix-sdl-logging (diff) | |
download | yuzu-49b15af05437e665088105bd4873be478ad12b4b.tar yuzu-49b15af05437e665088105bd4873be478ad12b4b.tar.gz yuzu-49b15af05437e665088105bd4873be478ad12b4b.tar.bz2 yuzu-49b15af05437e665088105bd4873be478ad12b4b.tar.lz yuzu-49b15af05437e665088105bd4873be478ad12b4b.tar.xz yuzu-49b15af05437e665088105bd4873be478ad12b4b.tar.zst yuzu-49b15af05437e665088105bd4873be478ad12b4b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index c6bb1516b..3d62cc196 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -97,14 +97,8 @@ private: GLvec4 border_color; }; - /// Configures the color and depth framebuffer states and returns the dirty <Color, Depth> - /// surfaces if writing was enabled. - std::pair<Surface, Surface> ConfigureFramebuffers(bool using_color_fb, bool using_depth_fb, - bool preserve_contents); - - /// Binds the framebuffer color and depth surface - void BindFramebufferSurfaces(const Surface& color_surface, const Surface& depth_surface, - bool has_stencil); + /// Configures the color and depth framebuffer states + void ConfigureFramebuffers(bool using_depth_fb, bool preserve_contents); /* * Configures the current constbuffers to use for the draw command. @@ -127,7 +121,7 @@ private: u32 current_unit); /// Syncs the viewport to match the guest state - void SyncViewport(const MathUtil::Rectangle<u32>& surfaces_rect); + void SyncViewport(); /// Syncs the clip enabled status to match the guest state void SyncClipEnabled(); |