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 6aa674a commit 7ecd917Copy full SHA for 7ecd917
scripts/Builders/yyVBufferBuilder.js
@@ -385,7 +385,7 @@ function yyVBufferBuilder(_size) {
385
// Check whether the webgl texture has been initialised yet and do so if not
386
if (_texture && !_texture.WebGLTexture.webgl_textureid) {
387
WebGL_BindTexture(_texture.TPE);
388
- if(_texture.WebGLTexture.webgl_textureid.Image == undefined) {
+ if(_texture.WebGLTexture.webgl_textureid.Image == undefined || _texture.WebGLTexture.webgl_textureid.Image == null) {
389
yyError("vertex_submit: trying to use an invalid texture");
390
return;
391
}
0 commit comments