Skip to content

Commit

Permalink
Fix maxAnisotropy read type. Fixes juj#13.
Browse files Browse the repository at this point in the history
  • Loading branch information
juj committed Jul 5, 2021
1 parent 83945f4 commit e4c2f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lib_webgpu.js
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ mergeInto(LibraryManager.library, {
'lodMinClamp': HEAPF32[descriptor+6],
'lodMaxClamp': HEAPF32[descriptor+7],
'compare': _wgpuStrings[HEAPU32[descriptor+8]],
'maxAnisotropy': _wgpuStrings[HEAPU32[descriptor+9]],
'maxAnisotropy': HEAPU32[descriptor+9]
} : void 0;
{{{ wdebuglog('`GPUDevice.createSampler() with desc=`'); }}}
{{{ wdebugdir('desc'); }}}
Expand Down

0 comments on commit e4c2f13

Please sign in to comment.