Exemplo n.º 1
0
unsigned int Texture::getMaximumSize()
{
   

    static unsigned int size = checkMaximumTextureSize();

    return size;
}
Exemplo n.º 2
0
unsigned int Texture::getMaximumSize()
{
    // TODO: Remove this lock when it becomes unnecessary in C++11
    Lock lock(mutex);

    static unsigned int size = checkMaximumTextureSize();

    return size;
}