added switch for developer mode and fixed crash with removing missiles
This commit is contained in:
parent
b5efac002e
commit
5a4e6aaaed
6 changed files with 65 additions and 21 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue