mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-05 02:07:03 +00:00
fixed a possible crash when changing -seo options when OpenGL not yet initialized
This commit is contained in:
parent
acdac858a3
commit
f73660c801
@ -1292,7 +1292,7 @@ EX void invoke_embed(geom3::eSpatialEmbedding se) {
|
||||
geom3::spatial_embedding = se;
|
||||
if(geom3::auto_configure) geom3::switch_fpp(); else geom3::switch_always3();
|
||||
delete_sky();
|
||||
resetGL();
|
||||
if(vid.usingGL) resetGL();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user