diff options
author | bunnei <bunneidev@gmail.com> | 2018-06-24 23:42:29 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-06-27 06:08:03 +0200 |
commit | 3f9f047375dd9aae7eadcb957747fa8db01544bf (patch) | |
tree | 4a5ce82d2726e5f723a3a7a0e72d973f6d6d0573 /src/video_core/renderer_opengl/renderer_opengl.h | |
parent | gl_rasterizer_cache: Cache size_in_bytes as a const per surface. (diff) | |
download | yuzu-3f9f047375dd9aae7eadcb957747fa8db01544bf.tar yuzu-3f9f047375dd9aae7eadcb957747fa8db01544bf.tar.gz yuzu-3f9f047375dd9aae7eadcb957747fa8db01544bf.tar.bz2 yuzu-3f9f047375dd9aae7eadcb957747fa8db01544bf.tar.lz yuzu-3f9f047375dd9aae7eadcb957747fa8db01544bf.tar.xz yuzu-3f9f047375dd9aae7eadcb957747fa8db01544bf.tar.zst yuzu-3f9f047375dd9aae7eadcb957747fa8db01544bf.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.h b/src/video_core/renderer_opengl/renderer_opengl.h index 2cc6d9a00..21f0d298c 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.h +++ b/src/video_core/renderer_opengl/renderer_opengl.h @@ -27,7 +27,7 @@ struct TextureInfo { /// Structure used for storing information about the display target for the Switch screen struct ScreenInfo { GLuint display_texture; - MathUtil::Rectangle<float> display_texcoords; + const MathUtil::Rectangle<float> display_texcoords{0.0f, 0.0f, 1.0f, 1.0f}; TextureInfo texture; }; |