summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-09-04 04:36:32 +0200
committerGitHub <noreply@github.com>2019-09-04 04:36:32 +0200
commit19af91434e7aea4232d12bf66ce86d33c134d1ba (patch)
tree034bed59283a16c7e0939d2959179c8835f51442 /src/video_core/gpu.cpp
parentMerge pull request #2812 from ReinUsesLisp/f2i-selector (diff)
parentrenderer_opengl: Implement RGB565 framebuffer format (diff)
downloadyuzu-19af91434e7aea4232d12bf66ce86d33c134d1ba.tar
yuzu-19af91434e7aea4232d12bf66ce86d33c134d1ba.tar.gz
yuzu-19af91434e7aea4232d12bf66ce86d33c134d1ba.tar.bz2
yuzu-19af91434e7aea4232d12bf66ce86d33c134d1ba.tar.lz
yuzu-19af91434e7aea4232d12bf66ce86d33c134d1ba.tar.xz
yuzu-19af91434e7aea4232d12bf66ce86d33c134d1ba.tar.zst
yuzu-19af91434e7aea4232d12bf66ce86d33c134d1ba.zip
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r--src/video_core/gpu.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp
index 8d9db45f5..2c47541cb 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -17,18 +17,6 @@
namespace Tegra {
-u32 FramebufferConfig::BytesPerPixel(PixelFormat format) {
- switch (format) {
- case PixelFormat::ABGR8:
- case PixelFormat::BGRA8:
- return 4;
- default:
- return 4;
- }
-
- UNREACHABLE();
-}
-
GPU::GPU(Core::System& system, VideoCore::RendererBase& renderer, bool is_async)
: system{system}, renderer{renderer}, is_async{is_async} {
auto& rasterizer{renderer.Rasterizer()};