summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2018-10-31 12:54:08 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2018-10-31 12:54:08 +0100
commit6370b601896983823f2813e817e9291b03bea76f (patch)
treea9e0672718c20d52b17e567919b831004d6e1527 /src
parent1712352d1c72628a045300fe922c82cd3214070a (diff)
downloadrpgedit-6370b601896983823f2813e817e9291b03bea76f.tar
rpgedit-6370b601896983823f2813e817e9291b03bea76f.zip
view/renderer/Renderer: we don't need a depth buffer
Diffstat (limited to 'src')
-rw-r--r--src/view/renderer/Renderer.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/renderer/Renderer.ts b/src/view/renderer/Renderer.ts
index a0ecf41..bf29797 100644
--- a/src/view/renderer/Renderer.ts
+++ b/src/view/renderer/Renderer.ts
@@ -64,7 +64,7 @@ export default class Renderer {
const h = this.canvas.height;
this.gl.viewport(0, 0, w, h);
- this.gl.clear(this.gl.COLOR_BUFFER_BIT | this.gl.DEPTH_BUFFER_BIT);
+ this.gl.clear(this.gl.COLOR_BUFFER_BIT);
mat4.identity(this.viewport);
mat4.scale(this.viewport, this.viewport, [2 * 64 / w, -2 * 64 / h, 1.0]);