Compile fix

This commit is contained in:
Joshua Granick
2015-10-19 10:00:15 -07:00
parent e492ab1717
commit 0a327595bc
2 changed files with 5 additions and 1 deletions

View File

@@ -326,7 +326,7 @@
<vflag name="-framework" value="ForceFeedback" />
<vflag name="-framework" value="Carbon" />
<vflag name="-framework" value="AppKit" />
<vflag name="-framework" value="OpenAL"/>
<!-- <vflag name="-framework" value="OpenAL"/> -->
<lib name="/opt/local/lib/libgc.a" if="LIME_NEKO" />
<lib name="-lm" if="LIME_NEKO" />

View File

@@ -48,6 +48,7 @@ namespace lime {
OpenGLBindings::Init ();
#ifndef LIME_GLES
int version = 0;
glGetIntegerv (GL_MAJOR_VERSION, &version);
@@ -64,6 +65,9 @@ namespace lime {
valid = true;
}
#else
valid = true;
#endif
}