SDLPP: slight code cleanup
This commit is contained in:
@@ -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++ ) {
|
||||
|
||||
Reference in New Issue
Block a user