[fix] fix crash during termination

This commit is contained in:
dijunkun
2024-09-06 13:07:20 +08:00
parent 2f72e3957e
commit 890615e13a
3 changed files with 5 additions and 3 deletions

View File

@@ -171,6 +171,7 @@ class Render {
int video_width_ = 1280;
int video_height_ = 720;
int video_size_ = 1280 * 720 * 3;
SDL_Window *main_window_;
SDL_Renderer *main_renderer_ = nullptr;