Don't create useless temporary variables
This commit is contained in:
@@ -196,9 +196,7 @@ WebGLCircleReplay.prototype.getDeleteResourcesFunction = function(context) {
|
||||
*/
|
||||
WebGLCircleReplay.prototype.setUpProgram = function(gl, context, size, pixelRatio) {
|
||||
// get the program
|
||||
const fragmentShader = fragment;
|
||||
const vertexShader = vertex;
|
||||
const program = context.getProgram(fragmentShader, vertexShader);
|
||||
const program = context.getProgram(fragment, vertex);
|
||||
|
||||
// get the locations
|
||||
let locations;
|
||||
|
||||
Reference in New Issue
Block a user