inline int TextureBrowser_fontHeight(TextureBrowser& textureBrowser)
{
- return GlobalOpenGL().m_fontHeight;
+ return GlobalOpenGL().m_font->getPixelHeight();
}
const char* TextureBrowser_GetSelectedShader(TextureBrowser& textureBrowser)
endswith(strTemp.c_str(), "_gloss") ||
endswith(strTemp.c_str(), "_pants") ||
endswith(strTemp.c_str(), "_shirt") ||
+ endswith(strTemp.c_str(), "_reflect") ||
+ endswith(strTemp.c_str(), "_alpha") ||
0;
}