diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-11 00:39:37 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-11 01:00:09 +0200 |
commit | 20c2928c2b157b8a322a128732cd00cabbfa9d6d (patch) | |
tree | f7db86f1b27135d7cc352c6eb5de4f2949d7e0f4 /src/video_core/gpu.h | |
parent | renderer_base: Remove unused kFramebuffer enumeration (diff) | |
download | yuzu-20c2928c2b157b8a322a128732cd00cabbfa9d6d.tar yuzu-20c2928c2b157b8a322a128732cd00cabbfa9d6d.tar.gz yuzu-20c2928c2b157b8a322a128732cd00cabbfa9d6d.tar.bz2 yuzu-20c2928c2b157b8a322a128732cd00cabbfa9d6d.tar.lz yuzu-20c2928c2b157b8a322a128732cd00cabbfa9d6d.tar.xz yuzu-20c2928c2b157b8a322a128732cd00cabbfa9d6d.tar.zst yuzu-20c2928c2b157b8a322a128732cd00cabbfa9d6d.zip |
Diffstat (limited to 'src/video_core/gpu.h')
-rw-r--r-- | src/video_core/gpu.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h index 874eddd78..51c838540 100644 --- a/src/video_core/gpu.h +++ b/src/video_core/gpu.h @@ -6,7 +6,6 @@ #include <memory> #include <unordered_map> -#include <vector> #include "common/common_types.h" #include "core/hle/service/nvflinger/buffer_queue.h" #include "video_core/memory_manager.h" @@ -65,14 +64,7 @@ struct FramebufferConfig { /** * Returns the number of bytes per pixel. */ - static u32 BytesPerPixel(PixelFormat format) { - switch (format) { - case PixelFormat::ABGR8: - return 4; - } - - UNREACHABLE(); - } + static u32 BytesPerPixel(PixelFormat format); VAddr address; u32 offset; |