2
0
Christophe R 10 жил өмнө
parent
commit
f9535f2398

+ 10 - 0
test/core/core_type_mat4x4.cpp

@@ -317,10 +317,20 @@ namespace cast
 	}
 	}
 }//namespace cast
 }//namespace cast
 
 
+struct repro
+{
+	repro(){ this->matrix = new glm::mat4(); }
+	~repro(){delete this->matrix;}
+
+	glm::mat4* matrix;
+};
+
 int main()
 int main()
 {
 {
 	int Error = 0;
 	int Error = 0;
 
 
+	repro Repro;
+
 #ifdef GLM_META_PROG_HELPERS
 #ifdef GLM_META_PROG_HELPERS
 		assert(glm::mat4::rows == glm::mat4::row_type::components);
 		assert(glm::mat4::rows == glm::mat4::row_type::components);
 		assert(glm::mat4::cols == glm::mat4::col_type::components);
 		assert(glm::mat4::cols == glm::mat4::col_type::components);