Skip to content

Commit

Permalink
Adding gl_glue for Mac also
Browse files Browse the repository at this point in the history
  • Loading branch information
philogb committed Jul 27, 2009
1 parent 78d64f8 commit ebb9941
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions glesbindings/glesbind.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ def main():
#include "glew_desktop_shim.h"
#elif defined(__APPLE__)
#include <OpenGL/OpenGL.h>
#include "gles_desktop_shim.h"
#else
#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
Expand All @@ -145,6 +146,7 @@ def main():
Persistent<Object> GlesFactory::self_;
Persistent<Context> GlesFactory::gles_persistent_context;
char* GlesFactory::root_path;
""" + custom_code + '\n'.join(text_out) + '\n' + generate_main_function(constants, functions))


Expand Down

0 comments on commit ebb9941

Please sign in to comment.