Fix SDL-only link failure
This commit is contained in:
parent
fcd2ce1b47
commit
eeb310467b
|
@ -573,7 +573,11 @@ static int main(int argc, char *argv[])
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
con_puts(CON_VERBOSE, "Going into graphics mode...");
|
con_puts(CON_VERBOSE, "Going into graphics mode...");
|
||||||
|
#if DXX_USE_OGL
|
||||||
gr_set_mode_from_window_size();
|
gr_set_mode_from_window_size();
|
||||||
|
#else
|
||||||
|
gr_set_mode(Game_screen_mode);
|
||||||
|
#endif
|
||||||
|
|
||||||
// Load the palette stuff. Returns non-zero if error.
|
// Load the palette stuff. Returns non-zero if error.
|
||||||
con_puts(CON_DEBUG, "Initializing palette system...");
|
con_puts(CON_DEBUG, "Initializing palette system...");
|
||||||
|
|
Loading…
Reference in a new issue