gosu / ashton

Special graphical effects and other extensions for the Ruby/Gosu game library (⚠️ unmaintained)
MIT License
43 stars 10 forks source link

Fix installing on OSX #39

Closed stephenbinns closed 9 years ago

stephenbinns commented 9 years ago

I did some more reading and found a similar issue in SDL itself

http://lists.libsdl.org/pipermail/commits-libsdl.org/2011-September/012828.html https://twitter.com/elmindreda/status/398479855324372992

It seems as if apple have defined both buffer objects as long

typedef long GLintptrARB;
typedef long GLsizeiptrARB;

Setting as x64 only resulted in the same error being generated - this does raise a question if this ever worked on osx?

bil-bas commented 9 years ago

I'm pretty sure this has worked on osx before since I know people wood used it there, but I haven't used it there myself (I've tested it on windows with 32 bit and Ubuntu with 64 bit).

bil-bas commented 9 years ago

Think I've got this sorted in my own fix. Tell me if you still have problems.

Thanks for your efforts!