diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-26 08:17:02 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 21:36:40 +0100 |
commit | 17a7fa751b34ae67c600bd741969dc1bde40fbf3 (patch) | |
tree | f6d22f2c38b8f8bd64c362e84412692e0c16f0fe /src/video_core/renderer_opengl/gl_texture_cache.h | |
parent | gl_state: Remove texture and sampler tracking (diff) | |
download | yuzu-17a7fa751b34ae67c600bd741969dc1bde40fbf3.tar yuzu-17a7fa751b34ae67c600bd741969dc1bde40fbf3.tar.gz yuzu-17a7fa751b34ae67c600bd741969dc1bde40fbf3.tar.bz2 yuzu-17a7fa751b34ae67c600bd741969dc1bde40fbf3.tar.lz yuzu-17a7fa751b34ae67c600bd741969dc1bde40fbf3.tar.xz yuzu-17a7fa751b34ae67c600bd741969dc1bde40fbf3.tar.zst yuzu-17a7fa751b34ae67c600bd741969dc1bde40fbf3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.h b/src/video_core/renderer_opengl/gl_texture_cache.h index 8e13ab38b..303534ca6 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.h +++ b/src/video_core/renderer_opengl/gl_texture_cache.h @@ -96,6 +96,10 @@ public: return texture_view.handle; } + GLenum GetFormat() const { + return format; + } + const SurfaceParams& GetSurfaceParams() const { return surface.GetSurfaceParams(); } @@ -113,6 +117,7 @@ private: CachedSurface& surface; GLenum target{}; + GLenum format{}; OGLTextureView texture_view; u32 swizzle{}; |