summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_texture_cache.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-05-18 10:57:49 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-06-21 02:38:33 +0200
commit175aa343ff1c9f931b266caf2d19b8df943dab0d (patch)
treec9cdf1f449232c7fc0728be6bbc86d8537ff44aa /src/video_core/renderer_opengl/gl_texture_cache.h
parentgl_shader_decompiler: Implement image binding settings (diff)
downloadyuzu-175aa343ff1c9f931b266caf2d19b8df943dab0d.tar
yuzu-175aa343ff1c9f931b266caf2d19b8df943dab0d.tar.gz
yuzu-175aa343ff1c9f931b266caf2d19b8df943dab0d.tar.bz2
yuzu-175aa343ff1c9f931b266caf2d19b8df943dab0d.tar.lz
yuzu-175aa343ff1c9f931b266caf2d19b8df943dab0d.tar.xz
yuzu-175aa343ff1c9f931b266caf2d19b8df943dab0d.tar.zst
yuzu-175aa343ff1c9f931b266caf2d19b8df943dab0d.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/gl_texture_cache.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.h b/src/video_core/renderer_opengl/gl_texture_cache.h
index 0ba42dbab..0b333e9e3 100644
--- a/src/video_core/renderer_opengl/gl_texture_cache.h
+++ b/src/video_core/renderer_opengl/gl_texture_cache.h
@@ -73,7 +73,7 @@ public:
~CachedSurfaceView();
/// Attaches this texture view to the current bound GL_DRAW_FRAMEBUFFER
- void Attach(GLenum attachment) const;
+ void Attach(GLenum attachment, GLenum target) const;
GLuint GetTexture() {
if (is_proxy) {
@@ -138,8 +138,8 @@ protected:
void ImageCopy(Surface src_surface, Surface dst_surface,
const VideoCommon::CopyParams& copy_params) override;
- void ImageBlit(Surface src_surface, Surface dst_surface, const Common::Rectangle<u32>& src_rect,
- const Common::Rectangle<u32>& dst_rect) override;
+ void ImageBlit(View src_view, View dst_view,
+ const Tegra::Engines::Fermi2D::Config& copy_config) override;
private:
OGLFramebuffer src_framebuffer;