Skip to content

Commit

Permalink
Merge branch 'v3.8.5' of https://github.com/cocos/cocos-engine into 3…
Browse files Browse the repository at this point in the history
…85-gfx-copyTextureToTexture
  • Loading branch information
dumganhar committed Jul 2, 2024
2 parents 1e4f032 + 6cdd39a commit ce703d4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/run_test_cases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ jobs:
Win-RunTestCases:
if: |
contains(github.event.pull_request.body, '[X] needs automatic test cases check') ||
(
contains(github.event.comment.body, '@cocos-robot run test cases') &&
contains(fromJson('["OWNER", "MEMBER"]'), github.event.comment.author_association)
)
contains(github.event.comment.body, '@cocos-robot run test cases')
runs-on: self-hosted-win

steps:
Expand Down
1 change: 1 addition & 0 deletions cocos/asset/asset-manager/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export class Factory {
'.image': createImageAsset,
'.pvr': createImageAsset,
'.pkm': createImageAsset,
'.astc': createImageAsset,

// Txt
'.txt': createTextAsset,
Expand Down
2 changes: 1 addition & 1 deletion cocos/core/effect-settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class EffectSettings {
}
return new Promise((resolve, reject) => {
if (!HTML5 && !path.startsWith('http')) {
fsUtils.readArrayBuffer(path, (err: Error, arrayBuffer: ArrayBuffer) => {
globalThis.fsUtils.readArrayBuffer(path, (err: Error, arrayBuffer: ArrayBuffer) => {
if (err) {
reject(err);
return;
Expand Down
2 changes: 1 addition & 1 deletion pal/audio/minigame/player-web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export class AudioPlayerWeb implements OperationQueueable {
return;
}
// TODO: use pal/fs
fsUtils.readArrayBuffer(url, (err: Error, arrayBuffer: ArrayBuffer) => {
globalThis.fsUtils.readArrayBuffer(url, (err: Error, arrayBuffer: ArrayBuffer) => {
if (err) {
reject(err);
return;
Expand Down

0 comments on commit ce703d4

Please sign in to comment.