5 May 2003 15:31
Re: Mouse FLicker
Christian Laforte <claforte <at> aw.sgi.com>
2003-05-05 13:31:47 GMT
2003-05-05 13:31:47 GMT
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, > > Matt > > > ----- > FAQ and OpenGL Resources at: > http://www.geocities.com/SiliconValley/Hills/9956/OpenGL > > -- > Author: Matt Riches > INET: aptt69 <at> dsl.pipex.com > > Fat City Network Services -- 858-538-5051 http://www.fatcity.com > San Diego, California -- Mailing list and web hosting services > --------------------------------------------------------------------- > To REMOVE yourself from this mailing list, send an E-Mail message > to: ListGuru <at> fatcity.com (note EXACT spelling of 'ListGuru') and in > the message BODY, include a line containing: UNSUB OPENGL-GAMEDEV-L > (or the name of mailing list you want to be removed from). You may > also send the HELP command for other information (like subscribing). > ----- FAQ and OpenGL Resources at: http://www.geocities.com/SiliconValley/Hills/9956/OpenGL -- -- Author: Christian Laforte INET: claforte <at> aw.sgi.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru <at> fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB OPENGL-GAMEDEV-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
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.
RSS Feed