mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-14 08:31:23 +00:00
Fix clang warning
This commit is contained in:
parent
5a85fabfa6
commit
9123c71bb6
1 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ namespace swrenderer
|
||||||
// b) skip most of the collected drawsegs which have no portal attached.
|
// b) skip most of the collected drawsegs which have no portal attached.
|
||||||
portaldrawsegs.Clear();
|
portaldrawsegs.Clear();
|
||||||
DrawSegmentList *drawseglist = Thread->DrawSegments.get();
|
DrawSegmentList *drawseglist = Thread->DrawSegments.get();
|
||||||
for (auto index = 0; index != drawseglist->SegmentsCount(); index++)
|
for (unsigned int index = 0; index != drawseglist->SegmentsCount(); index++)
|
||||||
{
|
{
|
||||||
DrawSegment *seg = drawseglist->Segment(index);
|
DrawSegment *seg = drawseglist->Segment(index);
|
||||||
|
|
||||||
|
@ -144,7 +144,7 @@ namespace swrenderer
|
||||||
}
|
}
|
||||||
|
|
||||||
DrawSegmentList *drawseglist = Thread->DrawSegments.get();
|
DrawSegmentList *drawseglist = Thread->DrawSegments.get();
|
||||||
for (auto index = 0; index != drawseglist->SegmentsCount(); index++)
|
for (unsigned int index = 0; index != drawseglist->SegmentsCount(); index++)
|
||||||
{
|
{
|
||||||
DrawSegment *ds = drawseglist->Segment(index);
|
DrawSegment *ds = drawseglist->Segment(index);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue