Skip to content
Snippets Groups Projects
Unverified Commit ffdcf798 authored by Alexander Rose's avatar Alexander Rose Committed by GitHub
Browse files

Merge pull request #194 from sukolsak/fix-smaa

Fix HTMLImageElement check for SMAA
parents 1e35ea15 397e1235
No related branches found
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.
Finish editing this message first!
Please register or to comment