From c0923430c1a7abfb58d46a2e072e36388f512fb1 Mon Sep 17 00:00:00 2001 From: Martijn de Boer Date: Fri, 5 Jan 2018 15:30:27 +0100 Subject: [PATCH] Fix typo --- drivers/driver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/driver.js b/drivers/driver.js index e7aa95a..cad3b70 100644 --- a/drivers/driver.js +++ b/drivers/driver.js @@ -55,7 +55,7 @@ class Driver { clear( r = 0, g = 0, b = 0, a = 1 ) { for ( let x = 0; x < this.width; x++ ) { for ( let y = 0; y < this.height; y++) { - this.setPikel( x, y, r, g, b, a ); + this.setPixel( x, y, r, g, b, a ); } } }