Skip to content
Snippets Groups Projects
Commit 118cbb97 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Get libepoxy working on macos

parent 57940854
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,11 @@
#include "epoxy/glx.h"
#endif
#if LL_DARWIN
#include <OpenGL/glu.h>
#else
#include <GL/glu.h>
#endif
#endif // LL_MESA
......
......@@ -33,10 +33,6 @@
#include "llrender.h"
#include "llvertexbuffer.h"
#if LL_DARWIN
#include "OpenGL/OpenGL.h"
#endif
// Lots of STL stuff in here, using namespace std to keep things more readable
using std::vector;
using std::pair;
......
......@@ -29,10 +29,6 @@
#include "llrender.h"
#include "llfile.h"
#if LL_DARWIN
#include "OpenGL/OpenGL.h"
#endif
// Lots of STL stuff in here, using namespace std to keep things more readable
using std::vector;
using std::pair;
......@@ -1082,7 +1078,7 @@ BOOL LLShaderMgr::linkProgramObject(GLuint obj, BOOL suppress_errors)
#if LL_DARWIN
// For some reason this absolutely kills the frame rate when VBO's are enabled
if (0)
/*if (0)
{
// Force an evaluation of the gl state so the driver can tell if the shader will run in hardware or software
// per Apple's suggestion
......@@ -1113,7 +1109,7 @@ BOOL LLShaderMgr::linkProgramObject(GLuint obj, BOOL suppress_errors)
success = GL_FALSE;
suppress_errors = FALSE;
}
}
}*/
#else
std::string log = get_program_log(obj);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment