mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- fixed video startup.
Make sure that SDL is initialized as the first thing and that the validmodecnt variable does not get cleared
This commit is contained in:
parent
d246ff1212
commit
768a75b712
2 changed files with 1 additions and 7 deletions
|
@ -8100,7 +8100,6 @@ int32_t enginePreInit(void)
|
|||
{
|
||||
baselayer_init();
|
||||
initdivtables();
|
||||
if (initsystem()) Bexit(9);
|
||||
|
||||
#if !defined DEBUG_MAIN_ARRAYS
|
||||
sector = sector_s;
|
||||
|
@ -8114,12 +8113,6 @@ int32_t enginePreInit(void)
|
|||
spritesmooth = spritesmooth_s;
|
||||
#endif
|
||||
|
||||
#if !defined ENGINE_USING_A_C
|
||||
mmxoverlay();
|
||||
#endif
|
||||
|
||||
validmodecnt = 0;
|
||||
videoGetModes();
|
||||
|
||||
initcrc32table();
|
||||
|
||||
|
|
|
@ -449,6 +449,7 @@ int main(int argc, char *argv[])
|
|||
gtkbuild_init(&argc, &argv);
|
||||
#endif
|
||||
|
||||
if (initsystem()) Bexit(9);
|
||||
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue