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 e30fec8 commit ce50b6cCopy full SHA for ce50b6c
src/renderers/WebGLRenderer.js
@@ -986,7 +986,7 @@ function WebGLRenderer( parameters ) {
986
var size = geometryAttribute.itemSize;
987
var buffer = objects.getAttributeBuffer( geometryAttribute );
988
989
- if ( geometryAttribute && geometryAttribute.isInterleavedBufferAttribute ) {
+ if ( geometryAttribute.isInterleavedBufferAttribute ) {
990
991
var data = geometryAttribute.data;
992
var stride = data.stride;
@@ -1013,7 +1013,7 @@ function WebGLRenderer( parameters ) {
1013
1014
} else {
1015
1016
- if ( geometryAttribute && geometryAttribute.isInstancedBufferAttribute ) {
+ if ( geometryAttribute.isInstancedBufferAttribute ) {
1017
1018
state.enableAttributeAndDivisor( programAttribute, geometryAttribute.meshPerAttribute, extension );
1019
0 commit comments