by Alessandro <alessandro.denardi@[EMAIL PROTECTED]
>
Sep 11, 2008 at 05:41 PM
On 12 sep, 00:57, Alessandro <alessandro.dena...@[EMAIL PROTECTED]
> wrote:
> Hi,
> I'm new to OpenGL. I also have the problem for which the screen get
> updated only when the mouse enters the window (although I'm calling
> glutPostRedisplay).
> I'm swapping the buffers and also have tried to flush, but nothing
> changed. What am I missing?
> Thanks in advance.
>
> Alessandro
Apparently the problem was that I was calling glutPostRedisplay from
another thread. By calling it from a gl timer function it works fine.