Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "Portals.h"
+#include "portals.h"
#include <string.h>
#include <stdlib.h>
#ifndef __APPLE__
#include "iglrender.h"
#include "cullable.h"
-#include "PrtView.h"
+#include "prtview.h"
#define LINE_BUF 1000
return;
}
- if(portal_count < 0)
+ if(portal_count == 0)
{
fclose(in);
GlobalOpenGLStateLibrary().insert(g_state_wireframe, state);
GlobalOpenGLStateLibrary().getDefaultState(state);
- state.m_state = RENDER_FILL|RENDER_BLEND|RENDER_COLOURWRITE|RENDER_COLOURCHANGE|RENDER_SMOOTH|RENDER_POLYGONSMOOTH;
+ state.m_state = RENDER_FILL|RENDER_BLEND|RENDER_COLOURWRITE|RENDER_COLOURCHANGE|RENDER_SMOOTH;
if(portals.aa_3d)
{