minor c++ standard compliance fixes

This commit is contained in:
tmj-fstate
2017-07-29 02:02:02 +02:00
parent 4357919272
commit 01ef6b3887
5 changed files with 78 additions and 72 deletions

View File

@@ -592,10 +592,7 @@ opengl_texture::create() {
}
}
data.swap( std::vector<char>() ); // TBD, TODO: keep the texture data if we start doing some gpu data cleaning down the road
/*
data_state = resource_state::none;
*/
data = std::vector<char>();
data_state = resource_state::none;
is_ready = true;
}