diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-04-14 23:16:27 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-21 02:36:11 +0200 |
commit | 84139586c9e6c95a7f3faaa09d04eb11b2bcd70c (patch) | |
tree | 94e6d2746b7d0d60d5b5316d4867c0a9fe1edaba /src/video_core/renderer_opengl/gl_texture_cache.h | |
parent | gl_texture_cache: Add fast copy path (diff) | |
download | yuzu-84139586c9e6c95a7f3faaa09d04eb11b2bcd70c.tar yuzu-84139586c9e6c95a7f3faaa09d04eb11b2bcd70c.tar.gz yuzu-84139586c9e6c95a7f3faaa09d04eb11b2bcd70c.tar.bz2 yuzu-84139586c9e6c95a7f3faaa09d04eb11b2bcd70c.tar.lz yuzu-84139586c9e6c95a7f3faaa09d04eb11b2bcd70c.tar.xz yuzu-84139586c9e6c95a7f3faaa09d04eb11b2bcd70c.tar.zst yuzu-84139586c9e6c95a7f3faaa09d04eb11b2bcd70c.zip |
Diffstat (limited to '')
-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 b18b32d99..80733ac36 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.h +++ b/src/video_core/renderer_opengl/gl_texture_cache.h @@ -73,7 +73,8 @@ public: explicit CachedSurfaceView(CachedSurface& surface, ViewKey key); ~CachedSurfaceView(); - GLuint GetTexture(); + /// Attaches this texture view to the current bound GL_DRAW_FRAMEBUFFER + void Attach(GLenum attachment) const; GLuint GetTexture(Tegra::Shader::TextureType texture_type, bool is_array, Tegra::Texture::SwizzleSource x_source, |