]> OCCT Git - occt.git/commit
0032533: Visualization, TKOpenGl - suppress error reported on Intel drivers due to...
authorkgv <kgv@opencascade.com>
Thu, 12 Aug 2021 12:50:16 +0000 (15:50 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 12 Aug 2021 16:15:44 +0000 (19:15 +0300)
commitfceeb829177bda0bba9148164a4d2a8de4a18b28
tree542b1bbfcbaa73d5a52d98a9cbfdcd7f232aaf77
parent11c23250dc3f19c7962251ef4ec01a080049591b
0032533: Visualization, TKOpenGl - suppress error reported on Intel drivers due to OpenGL 4.5 specs violation

OpenGl_GlCore45 - removed a couple of FFP-related functions introduced by OpenGL 4.5 Compatible Profile, but not Core Profile.

OpenGl_GlFunctions::load() now tries to load a set of functions
from GL_ARB_robustness extension (having ARB suffix) to fill OpenGL 4.5 function table,
and from GL_ARB_indirect_parameters extension to fill missing items in OpenGL 4.6 function table on Intel drivers.
Warning message (trace level) is now reported instead of error in case of fallback usage.
src/OpenGl/OpenGl_GlCore45.hxx
src/OpenGl/OpenGl_GlFunctions.cxx
src/OpenGl/OpenGl_GlFunctions.hxx