Skip to content

Commit

Permalink
remove unused glPostArrayBuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
KilledByAPixel committed Aug 5, 2024
1 parent cdf0fb4 commit cff9263
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/engineWebGL.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ function glDraw(x, y, sizeX, sizeY, angle, uv0X, uv0Y, uv1X, uv1Y, rgba, rgbaAdd
///////////////////////////////////////////////////////////////////////////////
// post processing - can be enabled to pass other canvases through a final shader

let glPostShader, glPostArrayBuffer, glPostTexture, glPostIncludeOverlay;
let glPostShader, glPostTexture, glPostIncludeOverlay;

/** Set up a post processing shader
* @param {String} shaderCode
Expand Down Expand Up @@ -306,7 +306,6 @@ function glInitPostProcess(shaderCode, includeOverlay=false)
);

// create buffer and texture
glPostArrayBuffer = glContext.createBuffer();
glPostTexture = glCreateTexture(undefined);
glPostIncludeOverlay = includeOverlay;

Expand Down

0 comments on commit cff9263

Please sign in to comment.