summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/renderer_opengl.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-09-03 06:05:23 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-09-11 00:31:42 +0200
commit78574746bddb1d62d85ae90707e1f0283af2a5db (patch)
tree281fa538f3a86d1bb56b5a3887287fa2d4a8883d /src/video_core/renderer_opengl/renderer_opengl.h
parentMerge pull request #2823 from ReinUsesLisp/shr-clamp (diff)
downloadyuzu-78574746bddb1d62d85ae90707e1f0283af2a5db.tar
yuzu-78574746bddb1d62d85ae90707e1f0283af2a5db.tar.gz
yuzu-78574746bddb1d62d85ae90707e1f0283af2a5db.tar.bz2
yuzu-78574746bddb1d62d85ae90707e1f0283af2a5db.tar.lz
yuzu-78574746bddb1d62d85ae90707e1f0283af2a5db.tar.xz
yuzu-78574746bddb1d62d85ae90707e1f0283af2a5db.tar.zst
yuzu-78574746bddb1d62d85ae90707e1f0283af2a5db.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.h b/src/video_core/renderer_opengl/renderer_opengl.h
index 9bd086368..cf26628ca 100644
--- a/src/video_core/renderer_opengl/renderer_opengl.h
+++ b/src/video_core/renderer_opengl/renderer_opengl.h
@@ -38,7 +38,8 @@ struct TextureInfo {
/// Structure used for storing information about the display target for the Switch screen
struct ScreenInfo {
- GLuint display_texture;
+ GLuint display_texture{};
+ bool display_srgb{};
const Common::Rectangle<float> display_texcoords{0.0f, 0.0f, 1.0f, 1.0f};
TextureInfo texture;
};