[Lazarus] RE : New widgetset

Darius Blaszyk dhkblaszyk at zeelandnet.nl
Tue Aug 16 22:39:32 CEST 2011


On Aug 16, 2011, at 8:08 PM, Michalis Kamburelis wrote:

> Darius: nvidia-widgets/src/nvwidgets/nvglutwidgets.pas calls
> Load_GL_version_2_0, but the result is not checked. You should abort
> the program (probably it would be nicest to raise an exception) if
> Load_GL_version_2_0 returns false (meaning that some entry points are
> not defined). Since the rest of the code seems to assume that GLSL
> functions are initialized.


Hi Michalis,

Thanks for the tip. I now check the function result and exit gracefully when the result is false.

Regards, Darius



More information about the Lazarus mailing list