mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
Kill off some usages of the ArraySize macro.
This required the use of std::array in some cases.
This commit is contained in:
parent
b2c0d5d5e6
commit
655d22512b
8 changed files with 44 additions and 45 deletions
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include "PerfQueryBase.h"
|
||||
|
||||
namespace DX11 {
|
||||
|
@ -32,7 +33,7 @@ private:
|
|||
// when testing in SMS: 64 was too small, 128 was ok
|
||||
static const int PERF_QUERY_BUFFER_SIZE = 512;
|
||||
|
||||
ActiveQuery m_query_buffer[PERF_QUERY_BUFFER_SIZE];
|
||||
std::array<ActiveQuery, PERF_QUERY_BUFFER_SIZE> m_query_buffer;
|
||||
int m_query_read_pos;
|
||||
|
||||
// TODO: sloppy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue