SDLPP: slight code cleanup

This commit is contained in:
2021-08-07 12:13:03 +02:00
parent d4393ef179
commit 7b1ef25f37
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ void Scene::addObject( const std::shared_ptr< RenderObject > &obj ) {
rightmost_obj = obj;
}
}
void Scene::setZIndex( const std::shared_ptr< RenderObject > &obj, int index ) {
void Scene::setZIndex( const std::shared_ptr< RenderObject > &obj, uint64_t index ) {
std::lock_guard< std::mutex > guard( render_mutex );
int original_index = 0;
for ( long unsigned int i = 0; i < render_objects.size(); i++ ) {