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 5141eb7 commit 6aa674aCopy full SHA for 6aa674a
scripts/Builders/yyVBufferBuilder.js
@@ -401,7 +401,7 @@ function yyVBufferBuilder(_size) {
401
// Check whether the webgl texture has been initialised yet and do so if not
402
if (_texture && !_texture.WebGLTexture.webgl_textureid) {
403
WebGL_BindTexture(_texture.TPE);
404
- if(_texture.WebGLTexture.webgl_textureid.Image == undefined) {
+ if(_texture.WebGLTexture.webgl_textureid.Image == undefined|| _texture.WebGLTexture.webgl_textureid.Image == null) {
405
yyError("vertex_submit: trying to use an invalid texture");
406
return;
407
}
0 commit comments