Fixed OS X compilation.

This commit is contained in:
Martín Lucas Golini
2014-11-15 04:30:33 -03:00
parent 26f8cd4f96
commit db66a43022
3 changed files with 5 additions and 3 deletions

View File

@@ -1,9 +1,11 @@
#include <eepp/window/platform/osx/osximpl.hpp>
#include <eepp/config.hpp>
#if EE_PLATFORM == EE_PLATFORM_MACOSX
#include <AGL/agl.h>
#include <eepp/window/platform/osx/osximpl.hpp>
namespace EE { namespace Window { namespace Platform {
cOSXImpl::cOSXImpl( EE::Window::Window * window ) :

View File

@@ -909,7 +909,7 @@ void EETest::LoadTextures() {
CursorManager * CurMan = mWindow->GetCursorManager();
CurMan->Visible( false );
CurMan->Visible( true );
CurMan->Set( Window::SYS_CURSOR_HAND );
CurMan->Set( EE::Window::SYS_CURSOR_HAND );
CurMan->SetGlobalCursor( EE_CURSOR_ARROW, CurMan->Add( CurMan->Create( CursorP[0], Vector2i( 1, 1 ), "cursor_special" ) ) );
CurMan->Set( EE_CURSOR_ARROW );

View File

@@ -92,7 +92,7 @@ class EETest : private Thread {
EE::Window::Window * mWindow;
TextureFactory* TF;
System::Log* Log;
Window::Input* KM;
EE::Window::Input* KM;
InputTextBuffer InBuf;
bool side, aside;