View Full Version : Deprecated functions
02-08-2012, 05:36 PM
Not sure whether this is the right section but here goes.
I am planning on developing an application that should run on older systems with gpu's that support up to version 2.1
In the latest version functions such as glpushmatrix are deprecated, does that mean I should avoid using it entirely ?
02-09-2012, 01:03 AM
You should avoid most deprecated functions, ESPECIALLY immediate mode (glBegin/glVertex etc).
02-09-2012, 01:11 AM
Depends, do you want to port your code to MacOS? Smartphones? Do you optionally support newer features than OpenGL 2.1? Do you want shadersor just fixed functions?
02-09-2012, 04:36 AM
In the future I might port it to macos and linux.
I want to mainly work with shaders but not go through making custom matrices and multiplying them if possible.
02-09-2012, 05:59 AM
You can use deprecated functions and stick with OpenGL 2.1, even on MacOS. But it's not possible to mix newer functionality with the old 2.1 deprecated stuff on Mac. That's why i'm asking. Also OpenGL ES 2 for Smartphones lacks much of the fixed function stuff that is deprecared/not part of core profile in newer OpenGL versions.
I wouldn't recomment to learn the outdated stuff in 2012 anymore, the day will come when you want to use a newer feature or port your app to a core-only system and then you will have to start all over again.
But is it possible to stick with the old stuff of GL 2.1? Sure.
02-09-2012, 07:26 AM
Alright, thanks for the suggestion.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.