diff options
author | James Rowe <jroweboy@gmail.com> | 2018-04-07 06:00:48 +0200 |
---|---|---|
committer | James Rowe <jroweboy@gmail.com> | 2018-04-07 06:00:48 +0200 |
commit | 0b855f1c21aceeda50a115fa80bf06ad6707cf66 (patch) | |
tree | 32bd5a2a1f7f24a6bb745a4f274f81e3be8297d7 | |
parent | GPU: Assert when finding a texture with a format type other than UNORM. (diff) | |
download | yuzu-0b855f1c21aceeda50a115fa80bf06ad6707cf66.tar yuzu-0b855f1c21aceeda50a115fa80bf06ad6707cf66.tar.gz yuzu-0b855f1c21aceeda50a115fa80bf06ad6707cf66.tar.bz2 yuzu-0b855f1c21aceeda50a115fa80bf06ad6707cf66.tar.lz yuzu-0b855f1c21aceeda50a115fa80bf06ad6707cf66.tar.xz yuzu-0b855f1c21aceeda50a115fa80bf06ad6707cf66.tar.zst yuzu-0b855f1c21aceeda50a115fa80bf06ad6707cf66.zip |
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp index a7f49c18b..5cbafa2e7 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp @@ -115,7 +115,7 @@ void MortonCopy(u32 stride, u32 height, u8* gl_buffer, VAddr base, VAddr start, template <> void MortonCopy<true, PixelFormat::DXT1>(u32 stride, u32 height, u8* gl_buffer, VAddr base, - VAddr start, VAddr end) { + VAddr start, VAddr end) { constexpr u32 bytes_per_pixel = SurfaceParams::GetFormatBpp(PixelFormat::DXT1) / 8; constexpr u32 gl_bytes_per_pixel = CachedSurface::GetGLBytesPerPixel(PixelFormat::DXT1); |