LuciadLightspeed provides the
TLcdGLDebugGL
class to help you localize errors related to OpenGL. This class implements the ILcdGL
interface.
It is able to wrap an underlying ILcdGL
implementation, and checks for errors
after each OpenGL method call. As soon as an OpenGL error is found, it throws a
TLcdGLException
, which allows you to locate the source of
any OpenGL-related error quickly.