[fpc-pascal] How to use OpenGL 2.0 features

Lord Satan reimgrab at web.de
Mon May 11 16:13:20 CEST 2009


On Mon, 11 May 2009 03:09:40 +0200
Michalis Kamburelis <michalis.kambi at gmail.com> wrote:

> Change this e.g. to follow each
>   Result := Load_GL_version_1_5;
> by
>   if not Result then Exit;
>   Result := FALSE;
Instead I moved the Load_GL_version_x_x calls to the end of the functions. Replacing Result:=TRUE;

> ... to make sure that Load_GL_version_2_0 returns true *only* if both
> Load_GL_version_1_5 succeeded *and* all functions on level 2.0 succeeded.
You are absolutely correct.

S.
-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



More information about the fpc-pascal mailing list