Home
last modified time | relevance | path

Searched refs:GL_texture_width (Results 1 – 1 of 1) sorted by relevance

/dports/games/freeorion/freeorion-0.4.10.2/GG/src/
H A DTexture.cpp392 X GL_texture_width = PowerOfTwo(width); in InitFromRawData() local
410 …glTexImage2D(GL_PROXY_TEXTURE_2D, 0, format, Value(GL_texture_width), Value(GL_texture_height), 0,… in InitFromRawData()
415 bool image_is_power_of_two = width == GL_texture_width && height == GL_texture_height; in InitFromRawData()
419 …std::vector<unsigned char> zero_data(bytes_per_pixel * Value(GL_texture_width) * Value(GL_texture_… in InitFromRawData()
420 …glTexImage2D(GL_TEXTURE_2D, 0, format, Value(GL_texture_width), Value(GL_texture_height), 0, forma… in InitFromRawData()