Remove HACK comment, as KRMeshManager::KRMeshManager no longer segfaults

This commit is contained in:
Kearwood Kip Gilbert
2019-07-17 22:26:15 -07:00
parent 4a9009427a
commit 6abf8c7644

View File

@@ -45,16 +45,13 @@ KRMeshManager::KRMeshManager(KRContext &context) : KRContextObject(context) {
m_first_frame = true; m_first_frame = true;
m_streamerComplete = true; m_streamerComplete = true;
addModel(new KRMeshCube(context)); // FINDME - HACK! This needs to be fixed, as it currently segfaults addModel(new KRMeshCube(context));
addModel(new KRMeshQuad(context)); // FINDME - HACK! This needs to be fixed, as it currently segfaults addModel(new KRMeshQuad(context));
addModel(new KRMeshSphere(context)); addModel(new KRMeshSphere(context));
m_draw_call_logging_enabled = false; m_draw_call_logging_enabled = false;
m_draw_call_log_used = false; m_draw_call_log_used = false;
// ---- Initialize stock models ---- // ---- Initialize stock models ----
static const GLfloat _KRENGINE_VBO_3D_CUBE_VERTEX_DATA[] = { static const GLfloat _KRENGINE_VBO_3D_CUBE_VERTEX_DATA[] = {
1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
-1.0, 1.0, 1.0, -1.0, 1.0, 1.0,