Searched refs:glMaxTextureSize (Results 1 – 1 of 1) sorted by relevance
77 GLint glMaxTextureSize = 0; in getMaxTextureAllocation() local78 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &glMaxTextureSize); in getMaxTextureAllocation()81 m_maxTextureAllocation = std::min(MAX_TEXTURE_ALLOCATION, glMaxTextureSize / 2); in getMaxTextureAllocation()