fix debug build with vs2017
This commit is contained in:
@@ -32,9 +32,9 @@ inline glm::vec2 xy(const glm::vec3& v) { return glm::vec2(v.x, v.y); }
|
||||
template<typename T, int N> struct cbuffer
|
||||
{
|
||||
T m_vec[N];
|
||||
int m_capacity;
|
||||
int m_count;
|
||||
int m_index;
|
||||
int m_capacity = 0;
|
||||
int m_count = 0;
|
||||
int m_index = 0;
|
||||
cbuffer()
|
||||
{
|
||||
m_capacity = N;
|
||||
|
||||
Reference in New Issue
Block a user