kbranigan / Simple-OpenGL-Image-Library

Simple image uploader primarily for OpenGL
http://lonesock.net/soil.html
244 stars 105 forks source link

Fixes for SOIL IOS compatibility #10

Closed andystanton closed 8 years ago

andystanton commented 8 years ago

Differentiate between OSX and IOS when including headers. Include CoreFoundation instead of Carbon for IOS. Include GLES3 instead of standard OpenGL header for IOS. Change (false) condition to (0) in query_cubemap_capability. Add missing closing bracket for GLES in query_cubemap_capability. Include assert.h to allow for use of assert() for Apple targets.