Remove redundant check; Already checked at beginning of function
This commit is contained in:
parent
5bf19a7d9c
commit
47bd6c9b82
|
|
@ -1888,7 +1888,7 @@ void UpdateMusicStream(Music music)
|
|||
// Check both sub-buffers to check if they require refilling
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
if ((music.stream.buffer != NULL) && !music.stream.buffer->isSubBufferProcessed[i]) continue; // No refilling required, move to next sub-buffer
|
||||
if (!music.stream.buffer->isSubBufferProcessed[i]) continue; // No refilling required, move to next sub-buffer
|
||||
|
||||
unsigned int framesLeft = music.frameCount - music.stream.buffer->framesProcessed; // Frames left to be processed
|
||||
unsigned int framesToStream = 0; // Total frames to be streamed
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user