extras: WebpToSDL -> WebPToSDL

this normalizes the function case to what's more commonly used in the
project

Change-Id: If614cb8eff4afba96b2468e28c52d850651a759b
This commit is contained in:
James Zern
2022-12-15 18:11:40 -08:00
parent 1d58575b18
commit ed92a62649
6 changed files with 8 additions and 8 deletions

View File

@ -34,7 +34,7 @@ function decode(webp_data, canvas_id) {
var result;
if (Module["asm"] != undefined) {
// wrapper for the function decoding a WebP into a canvas object
WebpToCanvas = Module.cwrap('WebpToSDL', 'number', ['array', 'number']);
WebpToCanvas = Module.cwrap('WebPToSDL', 'number', ['array', 'number']);
// get the canvas to decode into
var canvas = document.getElementById(canvas_id);
if (canvas == null) return;