summaryrefslogtreecommitdiffstats
path: root/src/view
diff options
context:
space:
mode:
Diffstat (limited to 'src/view')
-rw-r--r--src/view/Renderer.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/Renderer.ts b/src/view/Renderer.ts
index f1b7bac..9b7bfe3 100644
--- a/src/view/Renderer.ts
+++ b/src/view/Renderer.ts
@@ -27,7 +27,7 @@ export default class Renderer {
getAttribLocation(program: WebGLProgram, name: string): number {
let ret = this.gl.getAttribLocation(program, name);
if (ret < 0)
- throw new Error('unable to get location of attribute \'' + name + '\'');
+ throw new Error("unable to get location of attribute '" + name + "'");
return ret;
}
@@ -35,7 +35,7 @@ export default class Renderer {
getUniformLocation(program: WebGLProgram, name: string): WebGLUniformLocation {
let ret = this.gl.getUniformLocation(program, name);
if (!ret)
- throw new Error('unable to get location of uniform \'' + name + '\'');
+ throw new Error("unable to get location of uniform '" + name + "'");
return ret;
}