- lots of code cleanup from the cppcheck

This commit is contained in:
Mark Vejvoda
2012-09-22 20:13:57 +00:00
parent b1cc8592fd
commit 1c211e4ce6
75 changed files with 365 additions and 151 deletions

View File

@@ -26,7 +26,8 @@ const int Texture::defaultSize = 256;
const int Texture::defaultComponents = 4;
bool Texture::useTextureCompression = false;
/* Quick utility function for texture creation */
// Quick utility function for texture creation
/*
static int powerOfTwo(int input) {
int value = 1;
@@ -35,6 +36,7 @@ static int powerOfTwo(int input) {
}
return value;
}
*/
Texture::Texture() {
assert(GlobalStaticFlags::getIsNonGraphicalModeEnabled() == false);