Subversion Repositories eduke32

Rev

Rev 8768 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8768 Rev 8780
Line 1432... Line 1432...
1432
    float ratio = get_projhack_ratio();
1432
    float ratio = get_projhack_ratio();
1433
    const int32_t fovcorrect = (int32_t)(ourxdimen*ratio - ourxdimen);
1433
    const int32_t fovcorrect = (int32_t)(ourxdimen*ratio - ourxdimen);
1434
1434
1435
    ratio = 1.f/ratio;
1435
    ratio = 1.f/ratio;
1436
1436
-
 
1437
    polymost2d = 0;
-
 
1438
1437
    glViewport(windowxy1.x-(fovcorrect/2), ydim-(windowxy2.y+1),
1439
    glViewport(windowxy1.x-(fovcorrect/2), ydim-(windowxy2.y+1),
1438
                ourxdimen+fovcorrect, windowxy2.y-windowxy1.y+1);
1440
                ourxdimen+fovcorrect, windowxy2.y-windowxy1.y+1);
1439
1441
1440
    glMatrixMode(GL_PROJECTION);
1442
    glMatrixMode(GL_PROJECTION);
1441
1443