mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-08 15:21:12 +00:00
Eliminating obsolete #ifdefs and friends (#26)
The following options have been applied globally, using unifdef(1): ```c #undef BBGE_BUILD_DIRECTX #define BBGE_BUILD_OPENGL 1 #define GL_GLEXT_LEGACY 1 #define HAVE_PUTENV 1 #define TIXML_USE_STL 1 #define BBGE_BUILD_SDL 1 ```
This commit is contained in:
parent
dff33b0530
commit
276265be1d
54 changed files with 1 additions and 2248 deletions
|
@ -132,7 +132,6 @@ void DebugFont::onRender()
|
|||
{
|
||||
const float vspc = 1.5;
|
||||
|
||||
#ifdef BBGE_BUILD_OPENGL
|
||||
for (int i = 0; i < lines.size(); i++)
|
||||
{
|
||||
//float width = (lines[i].size()-1) * fontDrawSize * 1.4f * 0.75f;
|
||||
|
@ -152,7 +151,6 @@ void DebugFont::onRender()
|
|||
glTranslatef(width*0.5f, 0, 0);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void DebugFont::setAlign(Align align)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue