Autofix indentation issues (eslint --fix)
This commit is contained in:
@@ -25,7 +25,7 @@ if (ol.ENABLE_WEBGL) {
|
||||
* @type {number}
|
||||
*/
|
||||
this.usage_ = opt_usage !== undefined ?
|
||||
opt_usage : ol.webgl.Buffer.Usage_.STATIC_DRAW;
|
||||
opt_usage : ol.webgl.Buffer.Usage_.STATIC_DRAW;
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -118,7 +118,7 @@ if (ol.ENABLE_WEBGL) {
|
||||
arrayBuffer = new Float32Array(arr);
|
||||
} else if (target == ol.webgl.ELEMENT_ARRAY_BUFFER) {
|
||||
arrayBuffer = this.hasOESElementIndexUint ?
|
||||
new Uint32Array(arr) : new Uint16Array(arr);
|
||||
new Uint32Array(arr) : new Uint16Array(arr);
|
||||
}
|
||||
gl.bufferData(target, arrayBuffer, buf.getUsage());
|
||||
this.bufferCache_[bufferKey] = {
|
||||
|
||||
Reference in New Issue
Block a user