Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace glu with GLKit on OSX #448

Open
tpaviot opened this issue Jan 2, 2014 · 0 comments
Open

Replace glu with GLKit on OSX #448

tpaviot opened this issue Jan 2, 2014 · 0 comments
Labels

Comments

@tpaviot
Copy link
Owner

tpaviot commented Jan 2, 2014

Since OSX 10.9 is released, clang raises some deprecated warnings related to the use of glu, for instance:

/oce/src/OpenGl/OpenGl_GraduatedTrihedron.cxx:60:3: warning: 'gluUnProject' is deprecated: first deprecated in OS X 10.9 
"Use GLKMathUnproject" [-Wdeprecated-declarations]
  gluUnProject(viewport[0], viewport[1], 0., model_matrix, proj_matrix, viewport, &x1, &y1, &z1);
  ^

Instead of glu, Apple suggests to move to the GLKit library (https://developer.apple.com/library/ios/documentation/GLkit/Reference/GLKit_Collection/_index.html). I think it is for portability reasons with iOS.

This issue is not critical: we can only disable the warning, but we should keep it in mind.

@ghost ghost added the OSX label Jul 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant