Deprecation

R.I.P glBegin:( )

Since OpenGL 3.0 there is a deprecation model to remove features from OpenGL. It was used to remove the fixed function pipeline and since then it has not seen much use. Avoiding deprecated things is sometimes called using modern OpenGL. Below are the items deprecated is listed in the version where they where removed. There are also some links related to these deprecated topics.

3.0

Immediate mode

glBegin / glEnd

glVertex / / glTexCoord / glNormal3 / glFogCoord

glColor / glSecondaryColor

glEdgeFlag / glIndex

glRect*

Vertex arrays

glEnableClientState / glDisableClientState

glVertexPointer / glNormalPointer / glTexCoordPointer

glColorPointer / glSecondaryColorPointer

glIndexPointer / glEdgeFlagPointer / glFogCoordPointer

glClientActiveTexture

glInterleavedArrays

glTexGen*

glClipPlane

Display lists:

glNewList / glEndList

glCallList / glCallLists

glListBase / glGenLists

glIsList / glDeleteLists

Transformations and Matrix Stack

glLoadIdentity / glLoadMatrix / glLoadTransposeMatrix

glMultMatrix / glMultTransposeMatrix

glMatrixMode

glPushMatrix / glPopMatrix

glOrtho / glFrustum

glRotate / glScale / glTranslate

Alpha Test:

glAlphaFunc / GL_ALPHA_TEST

Attribute stacks

glPushAttrib / glPopAttrib

glPushClientAttrib / glPopClientAttrib

Evaluators:

glMap* / glEvalCoord* / glMapGrid* / glEvalMesh* / glEvalPoint

Selection and feedback:

glRenderMode / glInitNames

glPopName / glPushName

glLoadName / glSelectBuffer

glFeedbackBuffer / glPassThrough

Primitives

GL_POLYGON / GL_QUADS / GL_QUAD_STRIP

Light and Material

glLightModel* / glLight*

glMaterial*

glColorMaterial

glShadeModel

GL_LIGHTING / LIGHTi / GL_VERTEX_PROGRAM_TWO_SIDE

Pixel Operations

glRasterPos* / glWindowPos*

glDrawPixels / glPixelZoom

glCopyPixels

glBitmap

Other

glPolygonStipple / GL_POLYGON_STIPPLE

glAccum / glClearAccum

3.2

Wide lines - glLineWidth

Global component limit query - MAX_VARYING_COMPONENTS / MAX_VARYING_FLOATS

4.2

The query targets - NUM_COMPRESSED_TEXTURE_FORMATS and COMPRESSED_TEXTURE_FORMATS