-
-
Notifications
You must be signed in to change notification settings - Fork 660
Fix WebGL context creation on Windows, bump to 19.1.0 #1388
New issue
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
Changes from all commits
1ccd874
bd3b56d
6efdaa7
ac83cca
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -231,6 +231,10 @@ export default class WebGLRenderer extends Renderer { | |
| getSupportedCompressedTextureFormats() { | ||
| if (typeof supportedCompressedTextureFormats === "undefined") { | ||
| const gl = this.gl; | ||
| if (typeof gl === "undefined" || gl === null) { | ||
| // WebGL context not available | ||
| return super.getSupportedCompressedTextureFormats(); | ||
| } | ||
| supportedCompressedTextureFormats = { | ||
|
Comment on lines
+234
to
238
|
||
| astc: | ||
| gl.getExtension("WEBGL_compressed_texture_astc") || | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.