mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
minor c++ standard compliance fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user