fixed cgi possibly generated incorrectly (especially in dual)

This commit is contained in:
Zeno Rogue
2019-09-12 22:50:04 +02:00
parent c820f9a2f0
commit 1e07644c43
+3 -1
View File
@@ -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();