Skip to content

Commit

Permalink
[bug] only enable Plucker ray tracer if gpuid=-1
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Mar 14, 2024
1 parent 491f601 commit 739dbbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mmc_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -2829,7 +2829,7 @@ void mcx_validatecfg(mcconfig* cfg) {

#ifndef MMC_USE_SSE

if (cfg->gpuid < 0 && cfg->method == rtBLBadouelGrid) {
if (cfg->gpuid < 0) {
cfg->method = rtPlucker;
}

Expand Down

0 comments on commit 739dbbe

Please sign in to comment.