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 -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus