summaryrefslogtreecommitdiff
path: root/src/video_core/gpu.h
diff options
context:
space:
mode:
authorGravatar bunnei2018-08-11 14:10:55 -0400
committerGravatar GitHub2018-08-11 14:10:55 -0400
commitd64303d185f86901d0f587faf0e9a65d8497169c (patch)
tree27e105a3534a2a92d2ea6468dab723cc156118fa /src/video_core/gpu.h
parentMerge pull request #1003 from lioncash/var (diff)
parentvideo_core; Get rid of global g_toggle_framelimit_enabled variable (diff)
downloadyuzu-d64303d185f86901d0f587faf0e9a65d8497169c.tar.gz
yuzu-d64303d185f86901d0f587faf0e9a65d8497169c.tar.xz
yuzu-d64303d185f86901d0f587faf0e9a65d8497169c.zip
Merge pull request #1016 from lioncash/video
video_core: Get rid of global variable g_toggle_framelimit_enabled
Diffstat (limited to 'src/video_core/gpu.h')
-rw-r--r--src/video_core/gpu.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h
index 0164c747a..b57312b3b 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"
@@ -72,14 +71,7 @@ struct FramebufferConfig {
72 /** 71 /**
73 * Returns the number of bytes per pixel. 72 * Returns the number of bytes per pixel.
74 */ 73 */
75 static u32 BytesPerPixel(PixelFormat format) { 74 static u32 BytesPerPixel(PixelFormat format);
76 switch (format) {
77 case PixelFormat::ABGR8:
78 return 4;
79 }
80
81 UNREACHABLE();
82 }
83 75
84 VAddr address; 76 VAddr address;
85 u32 offset; 77 u32 offset;