We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
useLoader passes url as url but TextureLoader only accepts src
url
src
https://github.com/oframe/ogl/blob/b9817c6b207507365471c8af0387e0df16a3f843/src/extras/TextureLoader.js#L13
react-ogl/src/hooks.ts
Line 126 in 075f082
urls.map(async (url: string) => { // @ts-ignore OGL's loaders don't have a consistent signature if (classExtends(loader, OGL.TextureLoader)) return loader.load(gl, { url }) return await loader.load(gl, url) }),
The text was updated successfully, but these errors were encountered:
Fix out in v0.9.1. We'll have to add coverage there, API is very fragile.
v0.9.1
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
useLoader passes url as
url
but TextureLoader only acceptssrc
https://github.com/oframe/ogl/blob/b9817c6b207507365471c8af0387e0df16a3f843/src/extras/TextureLoader.js#L13
react-ogl/src/hooks.ts
Line 126 in 075f082
The text was updated successfully, but these errors were encountered: