thanks for the reply.

On 2/20/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
>
> I just tried under linux and it works:

with these changes ? or without ?

> Call in glpaint ctrl_opengl.Invalidate

i did this first, and this seemed to fix my problem.

can you explain what this does to me ?

are there any performance issues with this ?

should i put this before my OpenGL draw calls ?

after i "swap" GL buffers ?

> and paint in ctrl_opengl.OnPaint.

i didn't do this, because the other thing seemed to work.

should i still do this ?

if so, i'm not sure i understand ...

on the "OnPaint" event, i should call "paint" on the OpenGL context ?

thanks for your help.

>
> Mattias

Tony

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to