summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/BPStructs.cpp
diff options
context:
space:
mode:
authorNeoBrainX <NeoBrainX@gmail.com>2012-06-17 13:58:29 +0200
committerNeoBrainX <NeoBrainX@gmail.com>2012-08-26 20:26:10 +0200
commitcf8744cf2c1de2231d180348c4b55ebc2b35240f (patch)
treef030e29f4f4d8e834ebaed1c3f36013e69e39fde /Source/Core/VideoCommon/Src/BPStructs.cpp
parent4d8d86bd6a27e9eea5bbf1440cbf317f02320519 (diff)
OGL: Implement pixel metrics (untested)
Diffstat (limited to 'Source/Core/VideoCommon/Src/BPStructs.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/BPStructs.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/BPStructs.cpp b/Source/Core/VideoCommon/Src/BPStructs.cpp
index bc6de89bf2..cda0f7c7c0 100644
--- a/Source/Core/VideoCommon/Src/BPStructs.cpp
+++ b/Source/Core/VideoCommon/Src/BPStructs.cpp
@@ -31,6 +31,7 @@
#include "VertexShaderManager.h"
#include "Thread.h"
#include "HW/Memmap.h"
+#include "PerfQueryBase.h"
using namespace BPFunctions;
@@ -487,7 +488,7 @@ void BPWritten(const BPCmd& bp)
case BPMEM_CLEAR_PIXEL_PERF:
// GXClearPixMetric writes 0xAAA here, Sunshine alternates this register between values 0x000 and 0xAAA
- g_renderer->ResetPixelPerf();
+ g_perf_query->ResetQuery();
break;
case BPMEM_PRELOAD_ADDR: