diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-25 00:01:06 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-04-25 04:31:46 +0200 |
commit | f1a4a004fb8423091b48ceffdbd1e696372d4dc4 (patch) | |
tree | d325f360cccc55883840c8e27e3969d2acae2371 /src/video_core/renderer_opengl/gl_rasterizer_cache.h | |
parent | gl_rasterizer_cache: Use GPU PAGE_BITS/SIZE, not CPU. (diff) | |
download | yuzu-f1a4a004fb8423091b48ceffdbd1e696372d4dc4.tar yuzu-f1a4a004fb8423091b48ceffdbd1e696372d4dc4.tar.gz yuzu-f1a4a004fb8423091b48ceffdbd1e696372d4dc4.tar.bz2 yuzu-f1a4a004fb8423091b48ceffdbd1e696372d4dc4.tar.lz yuzu-f1a4a004fb8423091b48ceffdbd1e696372d4dc4.tar.xz yuzu-f1a4a004fb8423091b48ceffdbd1e696372d4dc4.tar.zst yuzu-f1a4a004fb8423091b48ceffdbd1e696372d4dc4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h index dfddcce90..55f1bdee8 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -374,7 +374,7 @@ struct CachedSurface : SurfaceParams { if (format == PixelFormat::Invalid) return 0; - return SurfaceParams::GetFormatBpp(format) / 8; + return SurfaceParams::GetFormatBpp(format) / CHAR_BIT; } std::unique_ptr<u8[]> gl_buffer; |