mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
fixed cgi possibly generated incorrectly (especially in dual)
This commit is contained in:
parent
c820f9a2f0
commit
1e07644c43
@ -693,6 +693,7 @@ void resetGL() {
|
||||
floor_textures = NULL;
|
||||
}
|
||||
#endif
|
||||
check_cgi();
|
||||
cgi.require_shapes();
|
||||
if(DIM == 3 && !floor_textures) make_floor_textures();
|
||||
cgi.initPolyForGL();
|
||||
@ -1242,7 +1243,8 @@ void initgraph() {
|
||||
#if CAP_COMMANDLINE
|
||||
arg::read(2);
|
||||
#endif
|
||||
cgi.prepare_basics();
|
||||
check_cgi();
|
||||
cgi.require_basics();
|
||||
|
||||
#if CAP_SDL
|
||||
setvideomode();
|
||||
|
Loading…
Reference in New Issue
Block a user