Kill off some usages of the ArraySize macro.

This required the use of std::array in some cases.
This commit is contained in:
Lioncash
2014-02-15 01:12:13 -05:00
parent b2c0d5d5e6
commit 655d22512b
8 changed files with 44 additions and 45 deletions

View File

@ -1,5 +1,6 @@
#pragma once
#include <array>
#include "PerfQueryBase.h"
namespace OGL {
@ -32,7 +33,7 @@ private:
void FlushOne();
// This contains gl query objects with unretrieved results.
ActiveQuery m_query_buffer[PERF_QUERY_BUFFER_SIZE];
std::array<ActiveQuery, PERF_QUERY_BUFFER_SIZE> m_query_buffer;
u32 m_query_read_pos;
// TODO: sloppy