primitive_assembly: Make use of std::array where applicable
Same behavior, minus any potential implicit array to pointer decay.
This commit is contained in:
parent
397bd1bb73
commit
e38e79e27e
2 changed files with 4 additions and 3 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <functional>
|
||||
#include <boost/serialization/access.hpp>
|
||||
#include "video_core/regs_pipeline.h"
|
||||
|
@ -59,8 +60,8 @@ struct PrimitiveAssembler {
|
|||
private:
|
||||
PipelineRegs::TriangleTopology topology;
|
||||
|
||||
int buffer_index;
|
||||
VertexType buffer[2];
|
||||
int buffer_index = 0;
|
||||
std::array<VertexType, 2> buffer;
|
||||
bool strip_ready = false;
|
||||
bool winding = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue