o mac compiles

This commit is contained in:
David Voswinkel
2009-05-12 23:17:44 +02:00
parent 571737d59b
commit 3063b354e7
18 changed files with 75 additions and 60 deletions

View File

@@ -1,6 +1,10 @@
#include <AL/al.h>
#include <AL/alc.h>
#ifdef __APPLE__
#include <al.h>
#include <alc.h>
#else
#include <AL/al.h>
#include <AL/alc.h>
#endif
namespace ruby {
#include "openal.hpp"

View File

@@ -97,7 +97,7 @@ public:
}
bool init() {
display = XOpenDisplay(0);
//display = XOpenDisplay(0);
char env[512];
sprintf(env, "SDL_WINDOWID=%ld", settings.handle);