Skip to content

Commit b47401f

Browse files
committed
create the WebGL buffer
Going to have to start testing this stuff locally!
1 parent 91c6c0b commit b47401f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/renderers/WebGLRenderer.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,6 +1163,8 @@ THREE.WebGLRenderer = function ( parameters ) {
11631163

11641164
type = _gl.ARRAY_BUFFER;
11651165

1166+
geometry.buffer = _gl.createBuffer();
1167+
11661168
_gl.bindBuffer( type, geometry.buffer );
11671169
_gl.bufferData( type, geometry.array, _gl.STATIC_DRAW );
11681170

0 commit comments

Comments
 (0)