Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/model/vertexarray.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/vertexarray.cc b/src/model/vertexarray.cc
index ee311ac..a559892 100644
--- a/src/model/vertexarray.cc
+++ b/src/model/vertexarray.cc
@@ -26,7 +26,7 @@ VertexArray::VertexArray(size_t size)
vertex_data = (float *) malloc(vertex_size * sizeof(float));
con_print << "^BInitializing vertex array..." << std::endl;
- con_print << " " << sizeof(vertex_data) / (1024 * 1024) << " Mb allocated" << std::endl;
+ con_print << " " << (vertex_size * sizeof(float)) / (1024 * 1024) << " Mb allocated" << std::endl;
clear();
}