@ken-martin Here is a screenshot of the breakpoint and the values of the parameters to bindTexture:
Here is the stack trace at that breakpoint:
_glBindTexture (SwisRadar.js:10994)
__ZN16vtkTextureObject8ActivateEv (SwisRadar.wasm:0xa5654)
__ZN25vtkOpenGLPolyDataMapper2D13RenderOverlayEP11vtkViewportP10vtkActor2D (SwisRadar.wasm:0x69c73)
__ZN10vtkActor2D13RenderOverlayEP11vtkViewport (SwisRadar.wasm:0x127ecc)
__ZN17vtkScalarBarActor13RenderOverlayEP11vtkViewport (SwisRadar.wasm:0xc2ea1)
__ZN17vtkOpenGLRenderer14UpdateGeometryEP24vtkFrameBufferObjectBase (SwisRadar.wasm:0x7a93c)
__ZN17vtkOpenGLRenderer12DeviceRenderEv (SwisRadar.wasm:0x7818f)
__ZN11vtkRenderer6RenderEv (SwisRadar.wasm:0x153fdc)
__ZN21vtkRendererCollection6RenderEv (SwisRadar.wasm:0x156e82)
__ZN15vtkRenderWindow14DoStereoRenderEv (SwisRadar.wasm:0x14f1cf)
__ZN15vtkRenderWindow6RenderEv (SwisRadar.wasm:0x14e7dd)
__ZN21vtkOpenGLRenderWindow6RenderEv (SwisRadar.wasm:0x7303c)
__ZN25vtkRenderWindowInteractor6RenderEv (SwisRadar.wasm:0x1504b2)
__ZN18SwisVtkRadarWindow6renderEv (SwisRadar.wasm:0x17477)
__ZN18SwisVtkRadarWindow11GotoNextCueEv (SwisRadar.wasm:0x180db)
__ZN18SwisVtkRadarWindow15DownloadSuccessENSt3__26vectorIcNS0_9allocatorIcEEEEi (SwisRadar.wasm:0x17f27)
__Z17downloadSucceededP18emscripten_fetch_t (SwisRadar.wasm:0x165ba)
dynCall_vi (SwisRadar.wasm:0x540be3)
Module.dynCall_vi (SwisRadar.js:13437)
reportSuccess (SwisRadar.js:10865)
xhr.onload (SwisRadar.js:10670)
load (async)
__emscripten_fetch_xhr (SwisRadar.js:10642)
performUncachedXhr (SwisRadar.js:10885)
getRequest.onsuccess (SwisRadar.js:10793)
IndexedDB (async)
__emscripten_fetch_load_cached_data (SwisRadar.js:10771)
_emscripten_start_fetch (SwisRadar.js:10911)
_emscripten_fetch (SwisRadar.wasm:0x51f22d)
__ZN18SwisVtkRadarWindow10AddProductENSt3__212basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEi (SwisRadar.wasm:0x1814d)
_addRadarCue (SwisRadar.wasm:0x15612)
Module._addRadarCue (SwisRadar.js:12819)
ccall (SwisRadar.js:795)
(anonymous) (SwisRadar.js:814)
DequeRadar1 (SwisRadarPage.js:247)
setTimeout (async)
success (SwisRadarPage.js:174)
c (jquery.min.js:2)
fireWith (jquery.min.js:2)
l (jquery.min.js:2)
(anonymous) (jquery.min.js:2)
load (async)
send (jquery.min.js:2)
ajax (jquery.min.js:2)
createRadar1 (SwisRadarPage.js:151)
createRadar (SwisRadarPage.js:130)
createScene (SwisRadarPage.js:111)
onclick (SwisRadar.aspx:89)