diff options
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 @@ | |||
| 6 | 6 | ||
| 7 | #include <memory> | 7 | #include <memory> |
| 8 | #include <unordered_map> | 8 | #include <unordered_map> |
| 9 | #include <vector> | ||
| 10 | #include "common/common_types.h" | 9 | #include "common/common_types.h" |
| 11 | #include "core/hle/service/nvflinger/buffer_queue.h" | 10 | #include "core/hle/service/nvflinger/buffer_queue.h" |
| 12 | #include "video_core/memory_manager.h" | 11 | #include "video_core/memory_manager.h" |
| @@ -65,14 +64,7 @@ struct FramebufferConfig { | |||
| 65 | /** | 64 | /** |
| 66 | * Returns the number of bytes per pixel. | 65 | * Returns the number of bytes per pixel. |
| 67 | */ | 66 | */ |
| 68 | static u32 BytesPerPixel(PixelFormat format) { | 67 | static u32 BytesPerPixel(PixelFormat format); |
| 69 | switch (format) { | ||
| 70 | case PixelFormat::ABGR8: | ||
| 71 | return 4; | ||
| 72 | } | ||
| 73 | |||
| 74 | UNREACHABLE(); | ||
| 75 | } | ||
| 76 | 68 | ||
| 77 | VAddr address; | 69 | VAddr address; |
| 78 | u32 offset; | 70 | u32 offset; |