Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.4.0
-
None
-
18aae36a90c0753f1b1e615ba8437d8ebd1bd2fb
Description
Some of the core profile versioned function classes (including 3.1) have member functions for deprecated OpenGL functionality. These should not have been added but are the result of either bugs in the old gl.spec files or the parsing of these files. This was noticed when adding new classes for 4.4 and 4.5 which use the new XML based specification files.
The function pointers for these functions will never have been able to be resolved at runtime and so they are useless. Prevent users from using these broken functions by having these broken functions call a qFatal() with a suitable message so that they can be fixed in client code.
Some function pointers were also mistakenly classified (core vs deprecated/compat). These will also be fixed on the backend classes. This is BC and transparent to client code (with a recompile for the inlined functions).