mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-19 05:06:25 -04:00
compiler warning
This commit is contained in:
parent
d19b618e7e
commit
4a2a85bedc
@ -522,7 +522,7 @@ filter_to_max(int max_lights) const {
|
|||||||
CompareLightPriorities());
|
CompareLightPriorities());
|
||||||
|
|
||||||
// Now lop off all of the lights after the first max_lights.
|
// Now lop off all of the lights after the first max_lights.
|
||||||
if (priority_lights.size() > max_lights) {
|
if ((int)priority_lights.size() > max_lights) {
|
||||||
priority_lights.erase(priority_lights.begin() + max_lights,
|
priority_lights.erase(priority_lights.begin() + max_lights,
|
||||||
priority_lights.end());
|
priority_lights.end());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user