TETRIS: only change textures in the main thread
This commit is contained in:
@@ -53,3 +53,6 @@ std::vector< std::shared_ptr< TetrisPiece > ( * )(
|
||||
|
||||
std::shared_ptr< SDLPP::Font > g_font{};
|
||||
std::shared_ptr< SDLPP::FontConfiguration > g_font_config{};
|
||||
|
||||
std::vector<std::shared_ptr<SDLPP::Scene>> g_update_scenes{};
|
||||
std::vector<std::shared_ptr<SDLPP::RenderObject>> g_update_objects{};
|
||||
|
||||
Reference in New Issue
Block a user