mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-08-20 21:40:54 +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
|
@ -203,7 +203,6 @@ float CollisionShape::getX2()
|
|||
|
||||
void CollisionShape::render()
|
||||
{
|
||||
#ifdef BBGE_BUILD_OPENGL
|
||||
glTranslatef(offsetPosition.x, offsetPosition.y,0);
|
||||
switch(getType())
|
||||
{
|
||||
|
@ -245,7 +244,6 @@ void CollisionShape::render()
|
|||
}
|
||||
|
||||
glTranslatef(-offsetPosition.x, -offsetPosition.y,0);
|
||||
#endif
|
||||
//glDisable(GL_BLEND);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue