We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1166815 commit 0a4d8abCopy full SHA for 0a4d8ab
Sources/Rendering/OpenGL/Texture/index.js
@@ -408,7 +408,8 @@ function vtkOpenGLTexture(publicAPI, model) {
408
return result;
409
};
410
411
- publicAPI.useHalfFloat = () => model.canUseHalfFloat;
+ publicAPI.useHalfFloat = () =>
412
+ model.enableUseHalfFloat && model.canUseHalfFloat;
413
414
//----------------------------------------------------------------------------
415
publicAPI.setInternalFormat = (iFormat) => {
0 commit comments