I recently started writing code that uses newer implementations of OpenGL. I did however notice, than in newer OpenGL implementations a lof of old functions are considered as deprecated. Is there any way to disable them if I only want to use proper functions?
Use ARB_create_context_profile and request a forward-compatible context.
Forward-compatible contexts are defined only for OpenGL versions 3.0 and later. They must not support functionality marked as deprecated by that version of the API, while a non-forward-compatible context must support all functionality in that version, deprecated or not.