diff options
Diffstat (limited to 'src/model')
-rw-r--r-- | src/model/vertexarray.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/vertexarray.cc b/src/model/vertexarray.cc index 0d3f64a..a5820d7 100644 --- a/src/model/vertexarray.cc +++ b/src/model/vertexarray.cc @@ -47,7 +47,7 @@ void VertexArray::clear() vertexarray_index = 0; vertexarray_overflow = false; - memset(vertexarray_data, 0, sizeof(vertexarray_data)); + memset(vertexarray_data, 0, sizeof(*vertexarray_data)); add_sphere(); } |