summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h
index bf67e3a70..d238c1257 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.h
+++ b/src/video_core/renderer_opengl/gl_rasterizer.h
@@ -98,17 +98,19 @@ private:
98 98
99 /** 99 /**
100 * Configures the color and depth framebuffer states. 100 * Configures the color and depth framebuffer states.
101 * @param must_reconfigure If true, tells the framebuffer to skip the cache and reconfigure 101 *
102 * again. Used by the texture cache to solve texception conflicts 102 * @param current_state The current OpenGL state.
103 * @param use_color_fb If true, configure color framebuffers. 103 * @param using_color_fb If true, configure color framebuffers.
104 * @param using_depth_fb If true, configure the depth/stencil framebuffer. 104 * @param using_depth_fb If true, configure the depth/stencil framebuffer.
105 * @param preserve_contents If true, tries to preserve data from a previously used framebuffer. 105 * @param preserve_contents If true, tries to preserve data from a previously used
106 * framebuffer.
106 * @param single_color_target Specifies if a single color buffer target should be used. 107 * @param single_color_target Specifies if a single color buffer target should be used.
108 *
107 * @returns If depth (first) or stencil (second) are being stored in the bound zeta texture 109 * @returns If depth (first) or stencil (second) are being stored in the bound zeta texture
108 * (requires using_depth_fb to be true) 110 * (requires using_depth_fb to be true)
109 */ 111 */
110 std::pair<bool, bool> ConfigureFramebuffers( 112 std::pair<bool, bool> ConfigureFramebuffers(
111 OpenGLState& current_state, bool use_color_fb = true, bool using_depth_fb = true, 113 OpenGLState& current_state, bool using_color_fb = true, bool using_depth_fb = true,
112 bool preserve_contents = true, std::optional<std::size_t> single_color_target = {}); 114 bool preserve_contents = true, std::optional<std::size_t> single_color_target = {});
113 115
114 /// Configures the current constbuffers to use for the draw command. 116 /// Configures the current constbuffers to use for the draw command.