Subversion Repositories eduke32

Rev

Rev 4966 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4966 Rev 4976
Line 389... Line 389...
389
static MenuOption_t MEO_VIDEOSETUP_RESOLUTION = MAKE_MENUOPTION( &MF_Redfont, &MEOS_VIDEOSETUP_RESOLUTION, &newresolution );
389
static MenuOption_t MEO_VIDEOSETUP_RESOLUTION = MAKE_MENUOPTION( &MF_Redfont, &MEOS_VIDEOSETUP_RESOLUTION, &newresolution );
390
static MenuEntry_t ME_VIDEOSETUP_RESOLUTION = MAKE_MENUENTRY( "Resolution:", &MF_Redfont, &MEF_BigOptionsRt, &MEO_VIDEOSETUP_RESOLUTION, Option );
390
static MenuEntry_t ME_VIDEOSETUP_RESOLUTION = MAKE_MENUENTRY( "Resolution:", &MF_Redfont, &MEF_BigOptionsRt, &MEO_VIDEOSETUP_RESOLUTION, Option );
391
391
392
#ifdef USE_OPENGL
392
#ifdef USE_OPENGL
393
#ifdef POLYMER
393
#ifdef POLYMER
394
static char *MEOSN_VIDEOSETUP_RENDERER[] = { "Classic", "Polymost.f", "Polymer", };
394
static char *MEOSN_VIDEOSETUP_RENDERER[] = { "Classic", "Polymost", "Polymer", };
395
static int32_t MEOSV_VIDEOSETUP_RENDERER[] = { REND_CLASSIC, REND_POLYMOST, REND_POLYMER, };
395
static int32_t MEOSV_VIDEOSETUP_RENDERER[] = { REND_CLASSIC, REND_POLYMOST, REND_POLYMER, };
396
#else
396
#else
397
static char *MEOSN_VIDEOSETUP_RENDERER[] = { "Classic", "OpenGL", };
397
static char *MEOSN_VIDEOSETUP_RENDERER[] = { "Classic", "OpenGL", };
398
static int32_t MEOSV_VIDEOSETUP_RENDERER[] = { REND_CLASSIC, REND_POLYMOST, };
398
static int32_t MEOSV_VIDEOSETUP_RENDERER[] = { REND_CLASSIC, REND_POLYMOST, };
399
#endif
399
#endif
Line 1443... Line 1443...
1443
            MenuMenu_ChangeEntryList(M_DISPLAYSETUP, MEL_DISPLAYSETUP_GL_POLYMER);
1443
            MenuMenu_ChangeEntryList(M_DISPLAYSETUP, MEL_DISPLAYSETUP_GL_POLYMER);
1444
#endif
1444
#endif
1445
        else
1445
        else
1446
            MenuMenu_ChangeEntryList(M_DISPLAYSETUP, MEL_DISPLAYSETUP_GL);
1446
            MenuMenu_ChangeEntryList(M_DISPLAYSETUP, MEL_DISPLAYSETUP_GL);
1447
1447
-
 
1448
        vpsize = ud.screen_size + 4*(ud.screen_size>=8 && ud.statusbarmode==0);
-
 
1449
1448
        if (getrendermode() != REND_CLASSIC)
1450
        if (getrendermode() != REND_CLASSIC)
1449
        {
1451
        {
1450
            vpsize = ud.screen_size + 4*(ud.screen_size>=8 && ud.statusbarmode==0);
-
 
1451
-
 
1452
            for (i = (int32_t) ARRAY_SIZE(MEOSV_DISPLAYSETUP_ANISOTROPY) - 1; i >= 0; --i)
1452
            for (i = (int32_t) ARRAY_SIZE(MEOSV_DISPLAYSETUP_ANISOTROPY) - 1; i >= 0; --i)
1453
            {
1453
            {
1454
                if (MEOSV_DISPLAYSETUP_ANISOTROPY[i] <= glinfo.maxanisotropy)
1454
                if (MEOSV_DISPLAYSETUP_ANISOTROPY[i] <= glinfo.maxanisotropy)
1455
                {
1455
                {
1456
                    MEOS_DISPLAYSETUP_ANISOTROPY.numOptions = i + 1;
1456
                    MEOS_DISPLAYSETUP_ANISOTROPY.numOptions = i + 1;