summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/truetypefont.h4
-rw-r--r--src/openglgraphics.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/truetypefont.h b/src/gui/truetypefont.h
index de146087..1cf6c2c8 100644
--- a/src/gui/truetypefont.h
+++ b/src/gui/truetypefont.h
@@ -26,8 +26,8 @@
#include <string>
#include <guichan/font.hpp>
-#ifndef __APPLE__
-#include <SDL/SDL_ttf.h>
+#ifdef __APPLE__
+#include <SDL_ttf/SDL_ttf.h>
#else
#include <SDL_ttf.h>
#endif
diff --git a/src/openglgraphics.cpp b/src/openglgraphics.cpp
index e7e7b204..0ee2bc50 100644
--- a/src/openglgraphics.cpp
+++ b/src/openglgraphics.cpp
@@ -26,12 +26,12 @@
#include "resources/image.h"
+#ifdef USE_OPENGL
+
#ifdef __APPLE__
#include <OpenGL/OpenGL.h>
#endif
-#ifdef USE_OPENGL
-
#ifndef GL_TEXTURE_RECTANGLE_ARB
#define GL_TEXTURE_RECTANGLE_ARB 0x84F5
#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8