Reputation: 869
So I was reading through this article on the LWJGL wiki, and it mentions, "when using a 'forward compatible' context any functionality flagged as deprecated will be removed."
Now when I implemented the forward compatibility with the display, the compiler threw an IllegalStateExceptionError whenever I call glMatrixMode() along with other rendering functions. When I remove the forward compatibility, it works just fine. So is glMatrixMode() deprecated? If so, what is the new way of initializing my rendering mode?
Upvotes: 0
Views: 1059
Reputation: 23266
http://java.net/projects/vecmath
This is a java library that's recommended for matrix operations since newer specs of OpenGL no longer support matrix operations.
For forward compatibility no older code can use these functions.
Upvotes: 1