mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-08-16 19:39:51 +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
|
@ -28,7 +28,6 @@ LightCone::LightCone() : RenderObject()
|
|||
|
||||
void LightCone::onRender()
|
||||
{
|
||||
#ifdef BBGE_BUILD_OPENGL
|
||||
RenderObject::onRender();
|
||||
glBegin(GL_QUADS);
|
||||
//glNormal3f( 0.0f, 0, 1.0f);
|
||||
|
@ -41,5 +40,4 @@ void LightCone::onRender()
|
|||
glColor4f(color.x, color.y, color.z,0*alpha.x);
|
||||
glVertex3f(-spread/2, length, 0);
|
||||
glEnd();
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue