diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-10-24 00:27:53 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-10-24 00:27:53 +0200 |
commit | 06b2c5bec7e246bad345fecdb12752866452e5e7 (patch) | |
tree | 0ada38168695e57441daeac1627da757807b9b94 /src/view | |
parent | ad0f2567240636a5ea6798c53c557d34620e662b (diff) | |
download | rpgedit-06b2c5bec7e246bad345fecdb12752866452e5e7.tar rpgedit-06b2c5bec7e246bad345fecdb12752866452e5e7.zip |
view/Renderer: code style
Diffstat (limited to 'src/view')
-rw-r--r-- | src/view/Renderer.ts | 4 |
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; } |