mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-01 08:31:14 +00:00
- fix r_multithreaded 0 not working
This commit is contained in:
parent
efb8e39aa9
commit
64bfb1b905
2 changed files with 3 additions and 3 deletions
|
@ -140,8 +140,8 @@ void DrawerThreads::WorkerMain(DrawerThread *thread)
|
||||||
// Grab the commands
|
// Grab the commands
|
||||||
DrawerCommandQueuePtr list = active_commands[thread->current_queue];
|
DrawerCommandQueuePtr list = active_commands[thread->current_queue];
|
||||||
thread->current_queue++;
|
thread->current_queue++;
|
||||||
thread->numa_start_y = thread->numa_node * viewheight / thread->num_numa_nodes;
|
thread->numa_start_y = thread->numa_node * screen->GetHeight() / thread->num_numa_nodes;
|
||||||
thread->numa_end_y = (thread->numa_node + 1) * viewheight / thread->num_numa_nodes;
|
thread->numa_end_y = (thread->numa_node + 1) * screen->GetHeight() / thread->num_numa_nodes;
|
||||||
start_lock.unlock();
|
start_lock.unlock();
|
||||||
|
|
||||||
// Do the work:
|
// Do the work:
|
||||||
|
|
|
@ -55,7 +55,7 @@ public:
|
||||||
|
|
||||||
// Active range for the numa block the cores are part of
|
// Active range for the numa block the cores are part of
|
||||||
int numa_start_y = 0;
|
int numa_start_y = 0;
|
||||||
int numa_end_y = 0;
|
int numa_end_y = MAXHEIGHT;
|
||||||
|
|
||||||
// Working buffer used by the tilted (sloped) span drawer
|
// Working buffer used by the tilted (sloped) span drawer
|
||||||
const uint8_t *tiltlighting[MAXWIDTH];
|
const uint8_t *tiltlighting[MAXWIDTH];
|
||||||
|
|
Loading…
Reference in a new issue