summaryrefslogtreecommitdiffstats
path: root/doxygen/header.html
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2013-08-05 15:46:43 -0700
committerPaul Berry <[email protected]>2013-08-09 10:34:05 -0700
commit13fedf2883c7a1d7ff911b75eb88df00ba22eea7 (patch)
tree96cd003ada73bd1086c7b45b32464c4086d09afb /doxygen/header.html
parent836098f6b2dd275a2f557780d094cde13471f49d (diff)
main: Fix deprecation of glLineWidth()
From section E.1 (Profiles and Deprecated Features of OpenGL 3.0) of the OpenGL 3.0 spec: "LineWidth is not deprecated, but values greater than 1.0 will generate an INVALID VALUE error" From context it is clear that values greater than 1.0 should only generate an INVALID VALUE error in a forward-compatible context. The code was correctly quoting this spec text, but it was disallowing all line widths in forward-compatible contexts, instead of just widths greater than 1.0. This patch introduces the correct check, so that setting a line width of 1.0 or less is permitted. Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'doxygen/header.html')
0 files changed, 0 insertions, 0 deletions