Maxwell3D: Address Feedback

This commit is contained in:
Fernando Sahmkow
2019-07-15 10:24:01 -04:00
committed by FernandoS27
parent 7826f0afd9
commit 5ad889f6fd
5 changed files with 13 additions and 17 deletions

View File

@ -1169,13 +1169,13 @@ public:
};
void ResetVertexArrays() {
std::fill(vertex_array.begin(), vertex_array.end(), true);
vertex_array.fill(true);
vertex_array_buffers = true;
}
void ResetRenderTargets() {
depth_buffer = true;
std::fill(render_target.begin(), render_target.end(), true);
render_target.fill(true);
render_settings = true;
}
@ -1244,7 +1244,7 @@ private:
static constexpr u32 null_cb_data = 0xFFFFFFFF;
struct {
std::array<std::array<u32, 0x4000>, 16> buff;
std::array<std::array<u32, 0x4000>, 16> buffer;
u32 current{null_cb_data};
u32 id{null_cb_data};
u32 start_pos{};