refactor(core): 重构资源销毁流程,改为集中式管理
将各模块的析构函数中自动调用shutdown()的逻辑移除,改为在Application::shutdown()中统一手动调用 调整SDL初始化和退出流程,避免重复调用 添加测试用的1秒定时退出逻辑 清理主程序中的示例代码
This commit is contained in:
@@ -43,7 +43,7 @@ public:
|
||||
|
||||
private:
|
||||
Renderer();
|
||||
~Renderer();
|
||||
// ~Renderer() 在 shutdown() 中手动调用销毁
|
||||
|
||||
void setupBlendMode(BlendMode mode);
|
||||
void updateUniforms();
|
||||
|
||||
Reference in New Issue
Block a user