diff options
author | N00byKing <N00byKing@users.noreply.github.com> | 2018-04-04 23:04:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-04 23:04:24 +0200 |
commit | cfc28e0c1ad8321525c3f2fa26ece3a95ad9dfd0 (patch) | |
tree | bafa0a7b19ae567a0095cea300fbeb8772932aa8 | |
parent | renderer_opengl.h: Update from citra to yuzu (diff) | |
download | yuzu-cfc28e0c1ad8321525c3f2fa26ece3a95ad9dfd0.tar yuzu-cfc28e0c1ad8321525c3f2fa26ece3a95ad9dfd0.tar.gz yuzu-cfc28e0c1ad8321525c3f2fa26ece3a95ad9dfd0.tar.bz2 yuzu-cfc28e0c1ad8321525c3f2fa26ece3a95ad9dfd0.tar.lz yuzu-cfc28e0c1ad8321525c3f2fa26ece3a95ad9dfd0.tar.xz yuzu-cfc28e0c1ad8321525c3f2fa26ece3a95ad9dfd0.tar.zst yuzu-cfc28e0c1ad8321525c3f2fa26ece3a95ad9dfd0.zip |
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h index 1f660d30c..37b1dae80 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -303,12 +303,12 @@ public: void CopySurface(const Surface& src_surface, const Surface& dst_surface, SurfaceInterval copy_interval); - /// Load a texture from 3DS memory to OpenGL and cache it (if not already cached) + /// Load a texture from Switch memory to OpenGL and cache it (if not already cached) Surface GetSurface(const SurfaceParams& params, ScaleMatch match_res_scale, bool load_if_create); /// Attempt to find a subrect (resolution scaled) of a surface, otherwise loads a texture from - /// 3DS memory to OpenGL and caches it (if not already cached) + /// Switch memory to OpenGL and caches it (if not already cached) SurfaceRect_Tuple GetSurfaceSubRect(const SurfaceParams& params, ScaleMatch match_res_scale, bool load_if_create); @@ -328,7 +328,7 @@ public: /// Write any cached resources overlapping the region back to memory (if dirty) void FlushRegion(VAddr addr, u64 size, Surface flush_surface = nullptr); - /// Mark region as being invalidated by region_owner (nullptr if 3DS memory) + /// Mark region as being invalidated by region_owner (nullptr if Switch memory) void InvalidateRegion(VAddr addr, u64 size, const Surface& region_owner); /// Flush all cached resources tracked by this cache manager |