diff options
| author | Ahmad Fatoum <ahmad@a3f.at> | 2018-02-09 22:50:50 +0100 |
|---|---|---|
| committer | Ahmad Fatoum <ahmad@a3f.at> | 2018-02-09 22:54:35 +0100 |
| commit | 468309d06c7ac3e3278057cfb1cfc19b332833bf (patch) | |
| tree | 771e3e932366b84e789cc4217e419b00cc6287b4 /projects/CodeBlocks | |
| parent | f72b315cb66de68486a8cf41a2767902aceb9c67 (diff) | |
| download | raylib-468309d06c7ac3e3278057cfb1cfc19b332833bf.tar.gz raylib-468309d06c7ac3e3278057cfb1cfc19b332833bf.zip | |
Early-exit InitWindow if InitGraphicsDevice fails
Otherwise we may run into LoadDefaultFont and crash in rlLoadTexture
Also moves InitTimer() before InitGraphicsDevice(), to allow it to be
tested even if InitWindow ultimately fails.
Diffstat (limited to 'projects/CodeBlocks')
0 files changed, 0 insertions, 0 deletions
