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