File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1402,9 +1402,9 @@ void Renderer::drawFrame(float time)
1402
1402
notes_hidden[i]++;
1403
1403
} else {
1404
1404
size_t start = max (0 , (n.start - time) / pre_time * NOTE_DEPTH_BUFFER_SIZE);
1405
- size_t end = min (NOTE_DEPTH_BUFFER_SIZE, ( size_t ) max (start, ((n.end - time) / pre_time * NOTE_DEPTH_BUFFER_SIZE)));
1405
+ size_t end = min (NOTE_DEPTH_BUFFER_SIZE, max (start, ((n.end - time) / pre_time * NOTE_DEPTH_BUFFER_SIZE)));
1406
1406
n.hidden = false ;
1407
- if (start >= end) // even after that casting hell it's not enough
1407
+ if (start > end) // even after that casting hell it's not enough
1408
1408
return ;
1409
1409
// fast path, will probably save a lot of time
1410
1410
if (!(depth_buf[start] && depth_buf[end])) {
You can’t perform that action at this time.
0 commit comments