added switch for developer mode and fixed crash with removing missiles

This commit is contained in:
Andreas Ortmann 2016-09-30 19:03:22 +02:00
parent b5efac002e
commit 5a4e6aaaed
6 changed files with 65 additions and 21 deletions

View file

@ -25,7 +25,7 @@ namespace endofthejedi {
return;
}
std::cout<<"program: " << shader->program() << std::endl;
//std::cout<<"program: " << shader->program() << std::endl;
m_shader = shader;
@ -50,9 +50,9 @@ namespace endofthejedi {
<< "') is invalid!" << std::endl;
} else {
std::cout<<"[polygonmodel] attribute location #"
<< i << " (for '" << name
<< "') is " << m_attr_locations[i] << std::endl;
//std::cout<<"[polygonmodel] attribute location #"
// << i << " (for '" << name
// << "') is " << m_attr_locations[i] << std::endl;
}
}
}