Mac OS OpenGL texture attributes fix
Merge pull request #5 from McKuzmich/master

Open GL texture fix