Christian Laforte | 5 May 2003 15:31
Picon

Re: Mouse FLicker

Let me try to guess. ;-)

You have a video card and/or driver which is a couple of years old. You're
running Windows XP or 2K with antialiased mouse cursor, or a cursor larger
than usual. If that's the case, then the solution is indeed to hide the
Windows cursor, and draw the cursor yourself, in the back buffer before
doing a swap.

(This was a common problem when antialiased mouse cursors came out, some
hardware didn't yet have native support for them, and they basically drew
them on the desktop as fast as they could, hoping that nobody noticed. ;-)

Christian

----- Original Message -----
To: "Multiple recipients of list OPENGL-GAMEDEV-L"
<OPENGL-GAMEDEV-L <at> fatcity.com>
Sent: Sunday, May 04, 2003 7:46 AM

>
> Hi All.
>
> Quick question, I have a simple win32 app, and all it does is draw a few
> triangles in different colour. When I run the mouse over the window, it
> flickers, and sometimes disappears for as much as a second.
>
> Any ideas as to what I can do to stop this ?
>
> TIA,
>
(Continue reading)


Gmane