Skip to content

Commit

Permalink
Fixed for osx (fixed #37)
Browse files Browse the repository at this point in the history
  • Loading branch information
bil-bas committed Jan 4, 2015
1 parent ab5691c commit fc70e51
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
*.so
*.o
.fuse*
*.bundle
5 changes: 3 additions & 2 deletions ext/ashton/GLee.h
Original file line number Diff line number Diff line change
Expand Up @@ -756,9 +756,10 @@ GLEE_EXTERN GLboolean _GLEE_SGIX_texture_range;
typedef unsigned short GLhalfNV;
#endif

// Changed these from 'ptrdiff_t' to 'long', since 64 bit OSX expects that
#ifndef GL_ARB_vertex_buffer_object
typedef ptrdiff_t GLintptrARB;
typedef ptrdiff_t GLsizeiptrARB;
typedef long GLintptrARB;
typedef long GLsizeiptrARB;
#endif

#ifndef GL_ARB_shader_objects
Expand Down
2 changes: 1 addition & 1 deletion lib/ashton/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Ashton
VERSION = "0.1.4"
VERSION = "0.1.5"
end

0 comments on commit fc70e51

Please sign in to comment.