Patch up the threadpool used for texture scaling to work. Really needs a rethink. Fixes #9372

This commit is contained in:
Henrik Rydgard committed 2017-03-02 10:49:47 +01:00
1 parent 4a2812a30d
commit a0688d4161
3 files changed
+18 -11

No files matched your search

@@ -110,6 +110,7 @@ PrioritizedWorkQueueItem *PrioritizedWorkQueue::Pop() {
static std::thread *workThread;
static void threadfunc(PrioritizedWorkQueue *wq) {
setCurrentThreadName("PrioritizedWorkQueue");
while (true) {
PrioritizedWorkQueueItem *item = wq->Pop();
if (!item) {