NAME¶
removedTypes - Describes types removed and replaced in the OpenGL API in OpenGL
4.2
DESCRIPTION¶
In the May, 2012 update of the OpenGL 4.2 Specification, all APIs using the
types GLclampf and GLclampd were modified to use GLfloat and GLdouble,
respectively, instead. Language was added to the Specification requiring that
these parameters be clamped, when required, at use time rather than at
specification time.
This change allows specifying parameters in ranges appropriate for
non-fixed-point framebuffers (integer and floating-point formats). The change
does not require any changes to user code calling these functions, because the
actual underlying types are identical, the behavior is externally unchanged,
and the header files continue to define the old types for compatibility with
older code.
SEE ALSO¶
glBlendColor(),
glClearColor(),
glClearDepth(),
glDepthRange(),
glDepthRangeArray(),
glDepthRangeIndexed(),
glMinSampleShading(),
glSampleCoverage()
COPYRIGHT¶
Copyright © 2012 Khronos Group. This material may be distributed subject to
the terms and conditions set forth in the Open Publication License, v 1.0, 8
June 1999.
http://opencontent.org/openpub/.