From b444318bf4285cdb7fe95a9ee17d820149199b82 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Sat, 19 Nov 2011 19:28:04 +0000 Subject: [PATCH] trying to fix mac build --- source/shared_lib/sources/platform/macosx/gl_wrap.mm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/shared_lib/sources/platform/macosx/gl_wrap.mm b/source/shared_lib/sources/platform/macosx/gl_wrap.mm index dd9dbd990..6921b79b5 100644 --- a/source/shared_lib/sources/platform/macosx/gl_wrap.mm +++ b/source/shared_lib/sources/platform/macosx/gl_wrap.mm @@ -18,13 +18,14 @@ #include "sdl_private.h" #include "noimpl.h" #include "util.h" -//#include "window.h" +#include "window.h" #include //#include #include "leak_dumper.h" using namespace Shared::Graphics::Gl; using namespace Shared::Util; +using namespace Shared::Graphics; namespace Shared{ namespace Platform{ @@ -181,7 +182,7 @@ BOOL makeGLDisplayListFirst(unichar first, int count, GLint base, NSFont *font, } void createGlFontBitmaps(uint32 &base, const string &type, int size, int width, - int charCount, Shared::Graphics::FontMetrics &metrics) { + int charCount, FontMetrics &metrics) { //@FF@ keep the reduction ratio ??? @@ -200,7 +201,7 @@ void createGlFontBitmaps(uint32 &base, const string &type, int size, int width, } void createGlFontOutlines(uint32 &base, const string &type, int width, - float depth, int charCount, Shared::Graphics::FontMetrics &metrics) { + float depth, int charCount, FontMetrics &metrics) { NOIMPL; } }}//end namespace