summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar James Rowe2018-04-06 22:00:48 -0600
committerGravatar James Rowe2018-04-06 22:00:48 -0600
commit0b855f1c21aceeda50a115fa80bf06ad6707cf66 (patch)
tree32bd5a2a1f7f24a6bb745a4f274f81e3be8297d7
parentGPU: Assert when finding a texture with a format type other than UNORM. (diff)
downloadyuzu-0b855f1c21aceeda50a115fa80bf06ad6707cf66.tar.gz
yuzu-0b855f1c21aceeda50a115fa80bf06ad6707cf66.tar.xz
yuzu-0b855f1c21aceeda50a115fa80bf06ad6707cf66.zip
Fix clang format issues
-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,
115 115
116template <> 116template <>
117void MortonCopy<true, PixelFormat::DXT1>(u32 stride, u32 height, u8* gl_buffer, VAddr base, 117void MortonCopy<true, PixelFormat::DXT1>(u32 stride, u32 height, u8* gl_buffer, VAddr base,
118 VAddr start, VAddr end) { 118 VAddr start, VAddr end) {
119 constexpr u32 bytes_per_pixel = SurfaceParams::GetFormatBpp(PixelFormat::DXT1) / 8; 119 constexpr u32 bytes_per_pixel = SurfaceParams::GetFormatBpp(PixelFormat::DXT1) / 8;
120 constexpr u32 gl_bytes_per_pixel = CachedSurface::GetGLBytesPerPixel(PixelFormat::DXT1); 120 constexpr u32 gl_bytes_per_pixel = CachedSurface::GetGLBytesPerPixel(PixelFormat::DXT1);
121 121