Skip to content

Commit

Permalink
WebGLRenderer: More clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Jul 8, 2018
1 parent 1c07afb commit 6ab73d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/renderers/WebGLRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -565,11 +565,11 @@ function WebGLRenderer( parameters ) {

// Buffer rendering

function renderObjectImmediate( object, program, material ) {
function renderObjectImmediate( object, program ) {

object.render( function ( object ) {

_this.renderBufferImmediate( object, program, material );
_this.renderBufferImmediate( object, program );

} );

Expand Down Expand Up @@ -1390,7 +1390,7 @@ function WebGLRenderer( parameters ) {

_currentGeometryProgram = '';

renderObjectImmediate( object, program, material );
renderObjectImmediate( object, program );

} else {

Expand Down

0 comments on commit 6ab73d8

Please sign in to comment.