mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-20 13:29:30 +00:00
Remove mandatory defines and their checks:
BBGE_BUILD_SHADERS BBGE_BUILD_FRAMEBUFFER BBGE_BUILD_OPENGL BBGE_BUILD_OPENGL_DYNAMIC
This commit is contained in:
parent
c581ab01d8
commit
7456e785fa
8 changed files with 4 additions and 81 deletions
|
@ -105,7 +105,6 @@ bool GLFont::Create (const char *file_name, int tex, bool loadTexture)
|
|||
|
||||
if (loadTexture)
|
||||
{
|
||||
#ifdef BBGE_BUILD_OPENGL
|
||||
glBindTexture(GL_TEXTURE_2D, tex);
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
|
||||
|
@ -128,7 +127,6 @@ bool GLFont::Create (const char *file_name, int tex, bool loadTexture)
|
|||
//glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
|
||||
|
||||
*/
|
||||
#endif
|
||||
}
|
||||
|
||||
//Free texture pixels memory
|
||||
|
@ -253,10 +251,8 @@ int GLFont::GetCharHeight (unsigned char c)
|
|||
//*******************************************************************
|
||||
void GLFont::Begin (void)
|
||||
{
|
||||
#ifdef BBGE_BUILD_OPENGL
|
||||
//Bind to font texture
|
||||
glBindTexture(GL_TEXTURE_2D, header.tex);
|
||||
#endif
|
||||
}
|
||||
//*******************************************************************
|
||||
void GLFont::GetStringSize (const std::string &text, std::pair<int, int> *size)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue