diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-09-22 02:28:22 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-16 22:11:30 +0100 |
commit | 8183142cd4c70355e6275eaba3d2939211b4b9c9 (patch) | |
tree | 16c370b346e5934ee957f90def3b691b54aefa17 /src/video_core/renderer_opengl/gl_texture_cache.h | |
parent | vk_rasterizer: Fix scaling on Y_NEGATE (diff) | |
download | yuzu-8183142cd4c70355e6275eaba3d2939211b4b9c9.tar yuzu-8183142cd4c70355e6275eaba3d2939211b4b9c9.tar.gz yuzu-8183142cd4c70355e6275eaba3d2939211b4b9c9.tar.bz2 yuzu-8183142cd4c70355e6275eaba3d2939211b4b9c9.tar.lz yuzu-8183142cd4c70355e6275eaba3d2939211b4b9c9.tar.xz yuzu-8183142cd4c70355e6275eaba3d2939211b4b9c9.tar.zst yuzu-8183142cd4c70355e6275eaba3d2939211b4b9c9.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_texture_cache.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.h b/src/video_core/renderer_opengl/gl_texture_cache.h index 79448f670..61f9b0259 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.h +++ b/src/video_core/renderer_opengl/gl_texture_cache.h @@ -205,12 +205,13 @@ private: bool Scale(); OGLTexture texture; - OGLTexture scale_backup; + OGLTexture upscaled_backup; OGLTextureView store_view; GLenum gl_internal_format = GL_NONE; GLenum gl_format = GL_NONE; GLenum gl_type = GL_NONE; TextureCacheRuntime* runtime{}; + GLuint original_backup{}; }; class ImageView : public VideoCommon::ImageViewBase { |