diff options
author | Subv <subv2112@gmail.com> | 2018-08-20 22:18:51 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-08-20 22:20:35 +0200 |
commit | 3fe77be392798408823ab80e84db265351fc14ab (patch) | |
tree | ba4a53686f58c430fab3abe7294ce57e18e699b8 /src/video_core/renderer_opengl/gl_rasterizer.h | |
parent | Merge pull request #1104 from Subv/instanced_arrays (diff) | |
download | yuzu-3fe77be392798408823ab80e84db265351fc14ab.tar yuzu-3fe77be392798408823ab80e84db265351fc14ab.tar.gz yuzu-3fe77be392798408823ab80e84db265351fc14ab.tar.bz2 yuzu-3fe77be392798408823ab80e84db265351fc14ab.tar.lz yuzu-3fe77be392798408823ab80e84db265351fc14ab.tar.xz yuzu-3fe77be392798408823ab80e84db265351fc14ab.tar.zst yuzu-3fe77be392798408823ab80e84db265351fc14ab.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index 74307f626..4a7c5b923 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -87,7 +87,8 @@ private: /// 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); + 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, |