Merge branch 'main' into @update/widgets

This commit is contained in:
Bill 2022-07-18 20:54:03 -04:00
commit c60f05b227
2 changed files with 3 additions and 3 deletions

View File

@ -178,7 +178,7 @@ export class AssetManager extends Disposable implements IAssetManager
continue; continue;
} }
if((resourceType === 'image/png') || (resourceType === 'image/gif')) if((resourceType === 'image/png') || (resourceType === 'image/jpeg') || (resourceType === 'image/gif'))
{ {
const base64 = ArrayBufferToBase64(resource.data); const base64 = ArrayBufferToBase64(resource.data);
const baseTexture = new BaseTexture(`data:${ resourceType };base64,${ base64 }`); const baseTexture = new BaseTexture(`data:${ resourceType };base64,${ base64 }`);

File diff suppressed because one or more lines are too long