Fix #9147: Delay making screenshots until the next draw tick as we may not access the video buffer from the game thread.
(cherry picked from commit 1f159f79de
)
This commit is contained in:

committed by
Jonathan G Rennison

parent
1b46ef756e
commit
2e6cadb005
@@ -1514,7 +1514,7 @@ DEF_CONSOLE_CMD(ConScreenShot)
|
||||
ScreenshotType type = SC_VIEWPORT;
|
||||
uint32 width = 0;
|
||||
uint32 height = 0;
|
||||
const char *name = nullptr;
|
||||
std::string name{};
|
||||
uint32 arg_index = 1;
|
||||
|
||||
if (argc > arg_index) {
|
||||
|
Reference in New Issue
Block a user