Subversion Repositories eduke32

Rev

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

Rev 8740 Rev 8768
Line 987... Line 987...
987
    glBindBuffer(GL_ARRAY_BUFFER, 0);
987
    glBindBuffer(GL_ARRAY_BUFFER, 0);
988
988
989
    currentTextureID = 0;
989
    currentTextureID = 0;
990
990
991
    glGetIntegerv(GL_MAX_TEXTURE_SIZE, &tilesheetSize);
991
    glGetIntegerv(GL_MAX_TEXTURE_SIZE, &tilesheetSize);
992
#ifdef _MSC_VER
992
#if (defined _MSC_VER) || (!defined BITNESS64)
993
    if (tilesheetSize > 8192)
993
    if (tilesheetSize > 8192)
994
        tilesheetSize = 8192;
994
        tilesheetSize = 8192;
995
#endif
995
#endif
996
    tilesheetHalfTexelSize = { 0.5f/tilesheetSize, 0.5f/tilesheetSize };
996
    tilesheetHalfTexelSize = { 0.5f/tilesheetSize, 0.5f/tilesheetSize };
997
    vec2_t maxTexDimensions = { tilesheetSize, tilesheetSize };
997
    vec2_t maxTexDimensions = { tilesheetSize, tilesheetSize };