Skip to content
Snippets Groups Projects
Commit 397e1235 authored by Sukolsak Sakshuwong's avatar Sukolsak Sakshuwong
Browse files

fix HTMLImageElement check for SMAA

parent 1e35ea15
Branches
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ export class SmaaPass {
}
constructor(private webgl: WebGLContext, input: Texture) {
if (typeof HTMLImageElement === undefined) {
if (typeof HTMLImageElement === 'undefined') {
if (isDebugMode) console.log(`Missing "HTMLImageElement" required for "SMAA"`);
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment