Skip to content

Commit 9b33207

Browse files
committed
Remove division by two of the thread count for rgba->rgba conversion.
1 parent e9ad263 commit 9b33207

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RageSurfaceUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ static bool blit_rgba_to_rgba( const RageSurface *src_surf, const RageSurface *d
577577
}
578578

579579
// Use multiple threads to do in-place pixel conversion
580-
unsigned int numThreads = max(std::thread::hardware_concurrency(), 2u)/2;
580+
unsigned int numThreads = max(std::thread::hardware_concurrency(), 2u);
581581
size_t segmentSize = height / numThreads;
582582
std::vector<std::thread> threads;
583583
threads.reserve(numThreads);

0 commit comments

Comments
 (0)