mirror of
https://github.com/danbulant/node-x11
synced 2026-06-16 05:01:28 +00:00
cleanup
This commit is contained in:
parent
8e833145ab
commit
aa7ab0b7d5
1 changed files with 1 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue