From aa7ab0b7d50e66948089912beef512296768a5db Mon Sep 17 00:00:00 2001 From: Andrey Sidorov Date: Thu, 20 Dec 2012 01:16:19 +1100 Subject: [PATCH] cleanup --- lib/x11/ext/glxrender.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/x11/ext/glxrender.js b/lib/x11/ext/glxrender.js index 0582412..c30fbf1 100644 --- a/lib/x11/ext/glxrender.js +++ b/lib/x11/ext/glxrender.js @@ -108,7 +108,6 @@ module.exports = function(GLX, ctx) { function render(ctxLocal) { if (!ctxLocal) // ctxLocal overrides ctx passed during creation of renderContext ctxLocal = ctx; - console.log("render called"); GLX.Render(ctxLocal, buffers); buffers = []; currentLength = 0; @@ -220,8 +219,7 @@ module.exports = function(GLX, ctx) { // flush render buffer before glx requests renderContext[name] = function(p1, p2, p3, p4, p5, p6, p7, p8) { - console.log(name); - renderContext.render(); + render(); GLX[name](ctx, p1, p2, p3, p4, p5, p6, p7, p8); } });