Fixed OpenGL routines broken by the DC -> PHYSDEV change.