summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Rowe <jroweboy@gmail.com>2018-04-07 06:00:48 +0200
committerJames Rowe <jroweboy@gmail.com>2018-04-07 06:00:48 +0200
commit0b855f1c21aceeda50a115fa80bf06ad6707cf66 (patch)
tree32bd5a2a1f7f24a6bb745a4f274f81e3be8297d7
parentGPU: Assert when finding a texture with a format type other than UNORM. (diff)
downloadyuzu-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.cpp2
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);