Results 1 to 2 of 2

Thread: Weird bug in Windows

  1. #1
    Member Newbie
    Join Date
    Apr 2009
    Posts
    30

    Weird bug in Windows

    Hi all,

    My program works fine on most Windows machines, but recently I saw something very strange. I am compiling with Visual C++ Express 8 and using OpenGL, GLU, GLUT, and GLUI.

    What happened was, the mouse pointer for some reason was not being drawn correctly, specifically the tiny square in which the pointer was displayed contained what appeared to be pixels from before my call to glSwapBuffers.

    So I would like to ask, is it standard practice under Windows to hide the pointer before calling glSwapBuffers and then unhide it after?

    I would have thought that Windows' underlying logic would have alleviated the need for such a kludge but... I suppose it could also have been caused by a driver bug.

    Thanks.






  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,574

    Re: Weird bug in Windows

    is it standard practice under Windows to hide the pointer before calling glSwapBuffers and then unhide it after?
    No it is not !
    On what OS/hardware/driver version the pointer bug happens ?

    glSwapBuffers -> you meant glutSwapBuffers right ?

Similar Threads

  1. Replies: 4
    Last Post: 01-30-2006, 03:25 PM
  2. Replies: 4
    Last Post: 06-15-2005, 06:35 AM
  3. Real Time Mapping of Windows NT Windows Onto an OpenGL object
    By pmilholl in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 08-08-2002, 03:42 PM
  4. Now this is just weird
    By Shard in forum OpenGL: Advanced Coding
    Replies: 15
    Last Post: 07-10-2002, 04:28 PM
  5. Replies: 1
    Last Post: 06-09-2001, 09:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean