Repository navigation
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. WalkthroughBoth game variants now release all textures directly through ChangesTexture release migration
Estimated code review effort: 2 (Simple) | ~8 minutes Change: Refactor Possibly related PRs
Suggested labels: Suggested reviewers: Merge Risk:
|
[Low impact] The PR appears safe to merge; the direct calls preserve the wrapper’s behavior.
|
ReloadAllTextures() is a one line wrapper in GameEngineDevice around W3DAssetManager::Get_Instance()->Release_All_Textures(). Its only caller is the particle editor hook in ScriptEngine.cpp, which is in GameEngine.
This change calls WW3DAssetManager::Get_Instance()->Release_All_Textures() directly and deletes W3DAssetManagerExposed.h and W3DAssetManagerExposed.cpp in both games.
Release_All_Textures is a virtual function of WW3DAssetManager, and W3DAssetManager does not override it, so the behavior is the same.
This removes one of the calls from GameEngine into GameEngineDevice, as discussed in #3552.
AI USE
Used AI to make the change and to check the callers.