Skip to content

Commit

Permalink
Fixed key for a cached draw list func
Browse files Browse the repository at this point in the history
  • Loading branch information
xeolabs committed Nov 2, 2011
1 parent f5fac39 commit 91278d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/scenejs/drawList/drawListRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ var SceneJS_DrawListRenderer = function(cfg) {
if (this._picking) {

this.createCall(
this._callFuncs["shader"]
|| (this._callFuncs["shader"] =
this._callFuncs["pickShader"]
|| (this._callFuncs["pickShader"] =
(function() {

var program = node.program.pick;
Expand Down Expand Up @@ -1073,8 +1073,8 @@ var SceneJS_DrawListRenderer = function(cfg) {
if (node.renderListenersState) {

this.createCall(
this._callFuncs["renderListener"]
|| (this._callFuncs["renderListener"] =
this._callFuncs["rendered"]
|| (this._callFuncs["rendered"] =
(function() {

var listeners = node.renderListenersState.listeners;
Expand Down

0 comments on commit 91278d8

Please sign in to comment.