mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
mark loading.inProgress variable as volatile to prevent optimization bugs in threaded loading
This commit is contained in:
parent
93859232d9
commit
d5faec85ac
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ struct Game {
|
|||
struct Gamestate* current;
|
||||
int progress;
|
||||
int loaded, toLoad;
|
||||
bool inProgress;
|
||||
volatile bool inProgress;
|
||||
double time;
|
||||
} loading;
|
||||
|
||||
|
|
Loading…
Reference in a new issue