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