Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This came up in #9513 - files like Material.js have code along the lines of:
Material.js
var ktx2Regex = /\.ktx2$/i; function createTexture2DUpdateFunction(uniformId) { ... if (ktx2Regex.test(resource.url)) { promise = loadKTX2(resource.url); } else { promise = resource.fetchImage(); } ... }
We should update these checks to check .ktx2 header info since not all files will have the .ktx2 extension.
The text was updated successfully, but these errors were encountered:
This came up in #9513 - files like
Material.js
have code along the lines of:We should update these checks to check .ktx2 header info since not all files will have the .ktx2 extension.
The text was updated successfully, but these errors were encountered: