Remove redundant scissor disable and include conditional for OpenGL header

- Because Apple puts it in a different place than every other platform
This commit is contained in:
2014-04-19 08:50:42 -04:00
parent 081b04b8de
commit 19c2b37464

View File

@@ -11,7 +11,11 @@
#include "cursors.h"
#include "restypes.hpp"
#include <boost/filesystem.hpp>
#ifdef __APPLE__
#include <OpenGl/GL.h>
#else
#include <GL/GL.h>
#endif
#include <boost/math/constants/constants.hpp>
#include <typeinfo>
using boost::math::constants::pi;
@@ -1116,7 +1120,6 @@ void tileImage(sf::RenderTarget& target, RECT area, sf::Texture& img, RECT srcRe
clip_rect(target, clipArea);
target.draw(tessel, renderMode);
undo_clip(target);
glDisable(GL_SCISSOR_TEST);
}
#if 0